Skip to content

Commit 1a34e5b

Browse files
fix(.github): artifact name for artifacts in release (#277)
Signed-off-by: KeisukeYamashita <19yamashita15@gmail.com>
1 parent db42ce9 commit 1a34e5b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/release.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ jobs:
2020
fail-fast: true
2121
matrix:
2222
config:
23+
# See details fore GitHub Actions runners
24+
# https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners
2325
- os: ubuntu-20.04
2426
rust_target: x86_64-unknown-linux-gnu
2527
ext: ""
@@ -28,7 +30,7 @@ jobs:
2830
rust_target: x86_64-apple-darwin
2931
ext: ""
3032
args: ""
31-
- os: macos-latest
33+
- os: macos-14 # beta (Apple Silicon)
3234
rust_target: aarch64-apple-darwin
3335
ext: ""
3436
args: ""
@@ -55,7 +57,7 @@ jobs:
5557

5658
- uses: actions/upload-artifact@v4
5759
with:
58-
name: commitlint-${{ matrix.config.os }}
60+
name: commitlint-${{ matrix.config.rust_target }}
5961
path: commitlint-${{ github.ref_name }}-${{ matrix.config.rust_target }}.tar.gz
6062
if-no-files-found: error
6163

0 commit comments

Comments
 (0)