Skip to content

Commit

Permalink
[ci] When publishing Windows build, publish Portable build too
Browse files Browse the repository at this point in the history
  • Loading branch information
cbjeukendrup committed Jul 5, 2023
1 parent fff51ed commit 82a44d1
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/ci_windows_mu4.yml
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 82a44d1

Please sign in to comment.