diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index d7ce8b36..13168adc 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -72,7 +72,7 @@ jobs: VERSION=1.0 ./appimagetool-*.AppImage ./appdir # turn AppDir into AppImage - name: Archive artifacts (welle.io AppImage) - if: always() && steps.build.outcome == 'failure' + if: always() && steps.create_appimage.outcome == 'success' uses: actions/upload-artifact@v4 with: name: welle.io AppImage diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index dc867b80..4e33db73 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -50,6 +50,7 @@ jobs: mingw32-make -j4 - name: Create installer + id: create_installer run: | Write-Host "*** Create new bin folder ***" -ForegroundColor Red New-Item -ItemType directory -Path installer @@ -73,7 +74,7 @@ jobs: & "ISCC" "/F$Filename" "windows/installer.iss" - name: Archive artifacts (welle.io Windows installer) - if: always() && steps.build.outcome == 'failure' + if: always() && steps.create_installer.outcome == 'success' uses: actions/upload-artifact@v4 with: name: welle.io Windows installer