Skip to content

Commit

Permalink
ci: change name of MSYS2 build artifact to include version
Browse files Browse the repository at this point in the history
  • Loading branch information
striezel committed Feb 27, 2024
1 parent 7663b00 commit b627798
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/msys2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ jobs:
steps:
# Checks-out the repository under $GITHUB_WORKSPACE.
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: msys2/setup-msys2@v2
with:
msystem: mingw64
Expand Down Expand Up @@ -64,9 +66,13 @@ jobs:
cp readme.md artifacts/
cp changelog.md artifacts/
cp documentation/third-party.md artifacts/
VERSION=$(git describe --always)
mv artifacts webp-viewer_${VERSION}
'/c/Program Files/7-Zip/7z.exe' a -r webp-viewer_${VERSION}.zip webp-viewer_${VERSION}
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: webp-viewer-windows-msys2
if-no-files-found: error
path: |
artifacts/*
webp-viewer*.zip

0 comments on commit b627798

Please sign in to comment.