From 19f00c3b8034093e0e94cf0983c37c6e5b0254b0 Mon Sep 17 00:00:00 2001 From: Gerrit Date: Tue, 30 May 2023 14:23:49 +0200 Subject: [PATCH] Always create the setup --- .github/workflows/build.yml | 11 +++++++++-- .github/workflows/release.yml | 7 +------ 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1f63077..c2a40f1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -28,9 +28,16 @@ jobs: - name: Build solution run: msbuild $env:solution /t:Rebuild /p:Configuration=$env:configuration - + - name: Create msi from PowerShell Script + run: | + "$Env:GITHUB_WORKSPACE\create_msi.ps1" - name: Upload artifacts uses: actions/upload-artifact@v2 with: - name: artifacts + name: installer + path: AmagnoPrinterInstaller.msi + - name: Upload artifacts + uses: actions/upload-artifact@v2 + with: + name: files path: files/**/* \ No newline at end of file diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 081112a..3ae36d4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -20,12 +20,7 @@ jobs: - name: Download artifacts uses: actions/download-artifact@v3 with: - name: artifacts - path: Files - - - name: Create msi from PowerShell Script - run: | - "$Env:GITHUB_WORKSPACE\create_msi.ps1" + name: installer - name: Create Release uses: ncipollo/release-action@v1.7.3 with: