Skip to content

Fix: Parameter name #67

Fix: Parameter name

Fix: Parameter name #67

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"
artifact-name: ${{needs.build-windows.outputs.x86}}
- label: "Windows_x64"
artifact-name: ${{needs.build-windows.outputs.x64}}
runs-on: ubuntu-latest
steps:
- name: Download artifact
id: download-artifact
uses: actions/download-artifact@v4
with:
name: ${{ matrix.build.artifact-name }}
- name: Zip files
run: |
cd ${{ steps.download-artifact.outputs.download-path }}
7z a '../${{ matrix.build.artifact-name }}.zip'
- name: Attach to release
uses: softprops/action-gh-release@v2
with:
files: ${{ matrix.build.artifact-name }}.zip
tag_name: Nightly