Skip to content

Commit

Permalink
CI: standardize the naming format of github artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
LeoHsiao1 committed May 12, 2024
1 parent 21cfb54 commit 8034ced
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
- uses: actions/upload-artifact@v4
with:
name: exiv2-linux64
name: exiv2-${{ matrix.runner.arch }}-${{ matrix.runner.os }}
path: ./build/exiv2-*.tar.gz
if-no-files-found: error
retention-days: 1
Expand All @@ -57,7 +57,6 @@ jobs:
name: 'Build macOS Release'
runs-on: ${{ matrix.runner.os }}
strategy:
fail-fast: false
matrix:
runner:
- { os: macos-12, arch: x64 }
Expand Down Expand Up @@ -92,7 +91,7 @@ jobs:
- uses: actions/upload-artifact@v4
with:
name: exiv2-${{ matrix.runner.os }}-${{ matrix.runner.arch }}
name: exiv2-${{ matrix.runner.arch }}-${{ matrix.runner.os }}
path: ./build/exiv2-*.tar.gz
if-no-files-found: error
retention-days: 1
Expand Down Expand Up @@ -141,7 +140,7 @@ jobs:
- uses: actions/upload-artifact@v4
with:
name: exiv2-win
name: exiv2-${{ matrix.runner.arch }}-${{ matrix.runner.os }}
path: ./build/exiv2-*.zip
if-no-files-found: error
retention-days: 1
Expand Down Expand Up @@ -228,6 +227,5 @@ jobs:
prerelease: ${{ env.TAG_NAME == 'nightly' }}
tag_name: ${{ env.TAG_NAME }}
files: |
./exiv2-linux64/exiv2-*
./exiv2-macos-*/exiv2-*
./exiv2-win/exiv2-*
./exiv2-*/exiv2-*

0 comments on commit 8034ced

Please sign in to comment.