Skip to content

build-nightly.yml aktualisieren #62

build-nightly.yml aktualisieren

build-nightly.yml aktualisieren #62

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
publish:
runs-on: ubuntu-latest
needs: build-windows
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:
name: Attach artifacts
needs: [build-windows, publish]
strategy:
matrix:
build:
- label: "Windows_x86"
url: ${{needs.build-windows.outputs.x86}}
- label: "Windows_x64"
url: ${{needs.build-windows.outputs.x64}}
runs-on: ubuntu-latest
steps:
- name: Download artifact
run: "wget --header='Authorization: Bearer ${{GITHUB_TOKEN}}' ${{ matrix.build.url }} -O 'Vocaluxe_Nightly_${{ matrix.build.label}}.zip'"

Check failure on line 43 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: 43, Col: 12): Unrecognized named-value: 'GITHUB_TOKEN'. Located at position 1 within expression: GITHUB_TOKEN
- name: Attach to release
uses: softprops/action-gh-release@v2
with:
files: Vocaluxe_Nightly_${{ matrix.build.label}}.zip
tag: Nightly