Skip to content

build-nightly.yml aktualisieren #39

build-nightly.yml aktualisieren

build-nightly.yml aktualisieren #39

Workflow file for this run

name: Nightly build
on:
push:
branches: [ "develop" ]
pull_request:
branches: [ "develop" ]
jobs:
build-windows:
name: Build Windows
uses: ./.github/workflows/dotnet-desktop.yml
collect-release-data:
runs-on: ubuntu-latest
needs: build-windows
name: Collect release data
steps:
- run: ${{ tojson(needs) }}
shell: cat {0}
publish:
runs-on: windows-latest
needs: collect-release-data
name: Publish release
steps:
- name: Create Release
if: ${{ github.event_name == 'push'}}
uses: ncipollo/[email protected]
with:
name: Latest Nightly build
tag: Nightly
prerelease: true
allowUpdates: true
artifacts: Vocaluxe_Nightly_x64
attach-artifacts:
strategy:
matrix:
build:
- label: "Windows x86"
url: ${{jobs.build-windows.outputs.x86}}

Check failure on line 42 in .github/workflows/build-nightly.yml

View workflow run for this annotation

GitHub Actions / Nightly build

Invalid workflow file

The workflow is not valid. .github/workflows/build-nightly.yml (Line: 42, Col: 18): Unrecognized named-value: 'jobs'. Located at position 1 within expression: jobs.build-windows.outputs.x86
runs-on: windows-latest
steps:
- name: ${{ matrix.label }}
run: |
Invoke-WebRequest -Uri ${{ matrix.url }}