1
0
mirror of https://github.com/facebook/zstd.git synced 2025-03-06 16:56:49 +02:00

Merge pull request #3591 from felixhandte/win-rel-artifact-name

Rename/Restructure Windows Release Artifact
This commit is contained in:
Felix Handte 2023-04-03 13:46:17 -07:00 committed by GitHub
commit 2b71b79f98
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,7 +2,10 @@ name: windows-artifacts
on:
push:
branches: [ release, test_artifacts, win_artifacts ]
branches: [ test_artifacts, win_artifacts ]
release:
types:
- published
permissions: read-all
@ -37,12 +40,12 @@ jobs:
- name: Create artifacts
run: |
./lib/dll/example/build_package.bat
cd bin/
7z a -tzip -mx9 zstd-win-release-win64.zip *
mv bin/ zstd-${{ github.ref_name }}-win64/
7z a -tzip -mx9 zstd-${{ github.ref_name }}-win64.zip zstd-${{ github.ref_name }}-win64/
cd ..
- name: Publish zstd-win-release-win64.zip
- name: Publish zstd-$VERSION-win64.zip
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # tag=v3
with:
path: ${{ github.workspace }}/bin/zstd-win-release-win64.zip
name: zstd-win-release-win64.zip
path: ${{ github.workspace }}/zstd-${{ github.ref_name }}-win64.zip
name: zstd-${{ github.ref_name }}-win64.zip