diff options
author | saturneric <[email protected]> | 2024-12-02 20:04:42 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2024-12-02 20:04:42 +0000 |
commit | cf111ff32c063e8c52eb02cbf6e201202b2521bb (patch) | |
tree | b9da39795c3e060206ee45f19dba59cad74d723f | |
parent | feat: change matrix.os to runner.os (diff) | |
download | GpgFrontend-cf111ff32c063e8c52eb02cbf6e201202b2521bb.tar.gz GpgFrontend-cf111ff32c063e8c52eb02cbf6e201202b2521bb.zip |
fix: should add matrix.os in the dmg name
-rw-r--r-- | .github/workflows/testing-nightly.yml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/testing-nightly.yml b/.github/workflows/testing-nightly.yml index 99d0f2d7..6259b406 100644 --- a/.github/workflows/testing-nightly.yml +++ b/.github/workflows/testing-nightly.yml @@ -243,9 +243,9 @@ jobs: mkdir ${{github.workspace}}/build/upload-artifact create-dmg --codesign "${{secrets.GPGFRONTEND_XOCDE_CODE_SIGN_IDENTITY}}" --volicon "${{github.workspace}}/resource/lfs/icns/GpgFrontend.icns" --volname GpgFrontend --app-drop-link 600 185 --window-size 800 400 ${{github.workspace}}/build/upload-artifact/GpgFrontend.dmg ${{github.workspace}}/build/package/GpgFrontend.app mv ${{github.workspace}}/build/upload-artifact/GpgFrontend.dmg \ - ${{github.workspace}}/build/upload-artifact/GpgFrontend-${{env.sha_short}}.dmg + ${{github.workspace}}/build/upload-artifact/GpgFrontend-${{matrix.os}}-${{env.sha_short}}.dmg mv ${{github.workspace}}/build/GpgFrontend.app.zip \ - ${{github.workspace}}/build/GpgFrontend-${{env.sha_short}}.zip + ${{github.workspace}}/build/GpgFrontend-${{matrix.os}}-${{env.sha_short}}.zip if: runner.os == 'macOS' - name: Notarize Release Build (macOS) @@ -254,7 +254,7 @@ jobs: --apple-id ${{secrets.APPLE_DEVELOPER_ID}} \ --team-id ${{secrets.APPLE_DEVELOPER_TEAM_ID}} \ --password ${{secrets.APPLE_DEVELOPER_ID_SECRET}} \ - ${{github.workspace}}/build/GpgFrontend-${{env.sha_short}}.zip + ${{github.workspace}}/build/GpgFrontend-${{matrix.os}}-${{env.sha_short}}.zip echo "BUILD_TYPE_LOWER=$(echo ${BUILD_TYPE} | tr '[:upper:]' '[:lower:]')" >> ${GITHUB_ENV} echo "SHORT_SHA=`echo ${GITHUB_SHA} | cut -c1-8`" >> ${GITHUB_ENV} if: runner.os == 'macOS' |