From c71ca21532801e1824094ec55a1e2356e8f2ca72 Mon Sep 17 00:00:00 2001 From: Anthony Stirling <77850077+Frooodle@users.noreply.github.com> Date: Sat, 14 Dec 2024 11:08:35 +0000 Subject: [PATCH] Update multiOSReleases.yml --- .github/workflows/multiOSReleases.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/multiOSReleases.yml b/.github/workflows/multiOSReleases.yml index cd6206cd..a67b85a0 100644 --- a/.github/workflows/multiOSReleases.yml +++ b/.github/workflows/multiOSReleases.yml @@ -74,7 +74,7 @@ jobs: shell: bash run: | if [ "${{ matrix.os }}" = "windows-latest" ]; then - mv "build/jpackage/Stirling-PDF-${{ steps.versionNumber.outputs.versionNumber }}.exe" "Stirling-PDF-${{ steps.versionNumber.outputs.versionNumber }}-${{ matrix.platform }}.${{ matrix.ext }}" + mv "build/jpackage/Stirling-PDF-${{ steps.versionNumber.outputs.versionNumber }}.exe" "Stirling-PDF-${{ matrix.platform }}-installer.${{ matrix.ext }}" elif [ "${{ matrix.os }}" = "macos-latest" ]; then mv "build/jpackage/Stirling-PDF-${{ steps.versionNumberMac.outputs.versionNumberMac }}.dmg" "Stirling-PDF-${{ steps.versionNumber.outputs.versionNumber }}-${{ matrix.platform }}.${{ matrix.ext }}" else @@ -85,7 +85,12 @@ jobs: - name: Upload Installer Artifact uses: actions/upload-artifact@v4 with: - name: Stirling-PDF-${{ matrix.platform }}-installer.{{ matrix.ext }} - path: Stirling-PDF-${{ steps.versionNumber.outputs.versionNumber }}-${{ matrix.platform }}.${{ matrix.ext }} + name: Stirling-PDF-${{ matrix.platform }}-installer.${{ matrix.ext }} + path: Stirling-PDF-${{ matrix.platform }}-installer.${{ matrix.ext }} retention-days: 1 - if-no-files-found: error \ No newline at end of file + if-no-files-found: error + + - name: Upload binaries to release + uses: softprops/action-gh-release@v2 + with: + files: ./Stirling-PDF-${{ matrix.platform }}-installer.${{ matrix.ext }}