Skip to content

Commit

Permalink
create zip for upload and release as artifact can't be used for relea…
Browse files Browse the repository at this point in the history
…se out-of-the-box
  • Loading branch information
chcg committed Oct 11, 2023
1 parent 1fe5ca1 commit 5141fc1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/CI_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ jobs:
- uses: olegtarasov/[email protected]
id: tagName

- name: zip artifacts for ${{ matrix.build_platform }}
if: matrix.build_configuration == 'Release'
run: 7z a SpeechPlugin_${{ steps.tagName.outputs.tag }}_${{ matrix.build_platform }}.zip ${{ matrix.build_platform }}\${{ matrix.build_configuration }}\SpeechPlugin.dll

- name: Archive artifacts for ${{ matrix.build_platform }}
if: matrix.build_configuration == 'Release'
uses: actions/upload-artifact@v3
Expand All @@ -36,5 +40,5 @@ jobs:
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: SpeechPlugin_${{ steps.tagName.outputs.tag }}_${{ matrix.build_platform }}
files: SpeechPlugin_${{ steps.tagName.outputs.tag }}_${{ matrix.build_platform }}.zip

0 comments on commit 5141fc1

Please sign in to comment.