Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
radj307 committed Jul 29, 2022
1 parent 79570bc commit 03bedf9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/GenerateRelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,16 +97,16 @@ jobs:
if: ${{ runner.os == 'Windows' }}
run: |
cd "${{github.workspace}}/build/${{env.PROJECT_NAME}}"
Compress-Archive "${{env.BINARY_NAME || env.PROJECT_NAME}}.exe" "${{env.PROJECT_NAME}}-$(.\${{env.PROJECT_NAME}} $GET_VERSION_NUMBER_ARGS)-Windows.zip"
Compress-Archive "${{env.BINARY_NAME || env.PROJECT_NAME}}.exe" "${{env.PROJECT_NAME}}-$(.\${{env.PROJECT_NAME}} ${{env.GET_VERSION_NUMBER_ARGS}})-Windows.zip"
shell: powershell
# Linux / macOS
- name: Create Archive (Linux/macOS)
if: ${{ runner.os != 'Windows' }}
run: |
cd "${{github.workspace}}/build/${{env.PROJECT_NAME}}"
zip -T9 "${{env.PROJECT_NAME}}-$(./${{env.PROJECT_NAME}} $GET_VERSION_NUMBER_ARGS)-${{runner.os}}.zip" "${{env.BINARY_NAME || env.PROJECT_NAME}}"
zip -T9 "${{env.PROJECT_NAME}}-$(./${{env.PROJECT_NAME}} ${{env.GET_VERSION_NUMBER_ARGS}})-${{runner.os}}.zip" "${{env.BINARY_NAME || env.PROJECT_NAME}}"
shell: bash

# Upload Artifact
- name: Upload Artifact
uses: actions/upload-artifact@v2
Expand Down

0 comments on commit 03bedf9

Please sign in to comment.