Skip to content

Commit

Permalink
fix : windows unzip command
Browse files Browse the repository at this point in the history
  • Loading branch information
smallboyc committed Jul 17, 2024
1 parent d8622d8 commit 61750d0
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/create_release_executables.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,16 @@ jobs:
cd ${{github.workspace}}/build
cpack
- name: Zip Release binaries
- name: Zip Release binaries (Linux and MacOS)
if: runner.os != 'Windows'
run: |
cd ${{github.workspace}}/bin/Release
zip -r ${GITHUB_WORKSPACE}/build/release-binaries-${{matrix.config.name}}.zip .
zip -r ${{github.workspace}}/build/release-binaries-${{matrix.config.name}}.zip .
- name: Zip Release binaries (Windows)
if: runner.os == 'Windows'
run: |
Compress-Archive -Path ${{github.workspace}}\bin\Release\* -DestinationPath ${{github.workspace}}\build\release-binaries-${{matrix.config.name}}.zip
- name: Release
uses: softprops/action-gh-release@v1
Expand Down

0 comments on commit 61750d0

Please sign in to comment.