mirror of
https://github.com/facebook/zstd.git
synced 2025-11-24 12:01:06 +03:00
Merge pull request #3591 from felixhandte/win-rel-artifact-name
Rename/Restructure Windows Release Artifact
This commit is contained in:
15
.github/workflows/windows-artifacts.yml
vendored
15
.github/workflows/windows-artifacts.yml
vendored
@@ -2,7 +2,10 @@ name: windows-artifacts
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ release, test_artifacts, win_artifacts ]
|
branches: [ test_artifacts, win_artifacts ]
|
||||||
|
release:
|
||||||
|
types:
|
||||||
|
- published
|
||||||
|
|
||||||
permissions: read-all
|
permissions: read-all
|
||||||
|
|
||||||
@@ -37,12 +40,12 @@ jobs:
|
|||||||
- name: Create artifacts
|
- name: Create artifacts
|
||||||
run: |
|
run: |
|
||||||
./lib/dll/example/build_package.bat
|
./lib/dll/example/build_package.bat
|
||||||
cd bin/
|
mv bin/ zstd-${{ github.ref_name }}-win64/
|
||||||
7z a -tzip -mx9 zstd-win-release-win64.zip *
|
7z a -tzip -mx9 zstd-${{ github.ref_name }}-win64.zip zstd-${{ github.ref_name }}-win64/
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
- name: Publish zstd-win-release-win64.zip
|
- name: Publish zstd-$VERSION-win64.zip
|
||||||
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # tag=v3
|
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # tag=v3
|
||||||
with:
|
with:
|
||||||
path: ${{ github.workspace }}/bin/zstd-win-release-win64.zip
|
path: ${{ github.workspace }}/zstd-${{ github.ref_name }}-win64.zip
|
||||||
name: zstd-win-release-win64.zip
|
name: zstd-${{ github.ref_name }}-win64.zip
|
||||||
|
|||||||
Reference in New Issue
Block a user