Skip to content

Commit

Permalink
try to get zip bin/Release
Browse files Browse the repository at this point in the history
  • Loading branch information
smallboyc committed Jul 17, 2024
1 parent 1de823a commit 3290085
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .github/workflows/create_release_executables.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,22 @@ jobs:
run: |
cd ${{github.workspace}}/build
cpack
- name: Create zip
if: runner.os != 'Windows'
run: |
cd ${{github.workspace}}/bin/Release
zip -r ${{github.workspace}}/Release.zip .
- name: Create zip (Windows)
if: runner.os == 'Windows'
run: |
powershell Compress-Archive -Path bin/Release -DestinationPath Release.zip
- name: Release
uses: softprops/action-gh-release@v1
with:
files: ${{runner.os != 'Windows' && github.workspace || ''}}${{runner.os != 'Windows' && '/' || ''}}build/${{matrix.config.installer_name}}
files: |
build/${{matrix.config.installer_name}}
Release.zip

0 comments on commit 3290085

Please sign in to comment.