Skip to content

Commit 890c029

Browse files
committed
[ci] Use unique artifact name
1 parent 6609b90 commit 890c029

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ jobs:
7373
if: matrix.os == 'windows-latest'
7474
- uses: actions/upload-artifact@v4
7575
with:
76-
name: ${{ matrix.os }}
76+
name: ${{ matrix.os }}-${{ matrix.arch }}
7777
path: prebuilds
7878
retention-days: 1
7979
release:
@@ -90,16 +90,17 @@ jobs:
9090
id: get_version
9191
- run:
9292
tar -cvf "${{ steps.get_version.outputs.version
93-
}}-darwin-x64+arm64.tar" -C "prebuilds/macos-latest" .
93+
}}-darwin-x64+arm64.tar" -C "prebuilds/macos-latest-x64"
94+
darwin-x64+arm64
9495
- run:
9596
tar -cvf "${{ steps.get_version.outputs.version }}-linux-x64.tar" -C
96-
"prebuilds/ubuntu-20.04" linux-x64
97+
"prebuilds/ubuntu-20.04-x64" linux-x64
9798
- run:
9899
tar -cvf "${{ steps.get_version.outputs.version }}-win32-ia32.tar" -C
99-
"prebuilds/windows-latest" win32-ia32
100+
"prebuilds/windows-latest-x86" win32-ia32
100101
- run:
101102
tar -cvf "${{ steps.get_version.outputs.version }}-win32-x64.tar" -C
102-
"prebuilds/windows-latest" win32-x64
103+
"prebuilds/windows-latest-x64" win32-x64
103104
- uses: softprops/action-gh-release@v1
104105
with:
105106
files: ${{ steps.get_version.outputs.version }}-*.tar

0 commit comments

Comments
 (0)