Skip to content

Commit

Permalink
Merge pull request musescore#18423 from cbjeukendrup/publish_windows_…
Browse files Browse the repository at this point in the history
…portable

[ci] When publishing Windows build to OSUOSL, publish Portable build too
  • Loading branch information
cbjeukendrup committed Jul 6, 2023
2 parents 497843d + 82a44d1 commit 20a6343
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/ci_windows_mu4.yml
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,13 @@ jobs:
fi
DO_PUBLISH='false'
if [[ "${{ github.event.inputs.publish }}" == "on" ]]; then
DO_PUBLISH='true'
if [ -z "${{ secrets.OSUOSL_SSH_ENCRYPT_SECRET }}" ]; then
echo "warning: not set OSUOSL_SSH_ENCRYPT_SECRET, publish disabled"
DO_PUBLISH='false'
fi
fi
DO_UPDATE_TS='false'
if [[ "$BUILD_MODE" == "testing_build" || "$BUILD_MODE" == "stable_build" ]]; then
Expand Down Expand Up @@ -327,9 +334,9 @@ jobs:
bash ./build/ci/tools/checksum.sh
- name: Publish package
if: env.DO_PUBLISH == 'true'
shell: bash
run: |
build\ci\windows\publish.bat --secret ${{ secrets.OSUOSL_SSH_ENCRYPT_SECRET }}
shell: cmd
bash ./build/ci/tools/osuosl/publish.sh -s ${{ secrets.OSUOSL_SSH_ENCRYPT_SECRET }} --os windows -v 4
- name: Upload artifacts on GitHub
if: env.DO_BUILD == 'true'
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit 20a6343

Please sign in to comment.