Skip to content

Commit

Permalink
[ci] Use unique artifact name
Browse files Browse the repository at this point in the history
  • Loading branch information
lpinca committed Jan 15, 2024
1 parent 6609b90 commit 890c029
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:
if: matrix.os == 'windows-latest'
- uses: actions/upload-artifact@v4
with:
name: ${{ matrix.os }}
name: ${{ matrix.os }}-${{ matrix.arch }}
path: prebuilds
retention-days: 1
release:
Expand All @@ -90,16 +90,17 @@ jobs:
id: get_version
- run:
tar -cvf "${{ steps.get_version.outputs.version
}}-darwin-x64+arm64.tar" -C "prebuilds/macos-latest" .
}}-darwin-x64+arm64.tar" -C "prebuilds/macos-latest-x64"
darwin-x64+arm64
- run:
tar -cvf "${{ steps.get_version.outputs.version }}-linux-x64.tar" -C
"prebuilds/ubuntu-20.04" linux-x64
"prebuilds/ubuntu-20.04-x64" linux-x64
- run:
tar -cvf "${{ steps.get_version.outputs.version }}-win32-ia32.tar" -C
"prebuilds/windows-latest" win32-ia32
"prebuilds/windows-latest-x86" win32-ia32
- run:
tar -cvf "${{ steps.get_version.outputs.version }}-win32-x64.tar" -C
"prebuilds/windows-latest" win32-x64
"prebuilds/windows-latest-x64" win32-x64
- uses: softprops/action-gh-release@v1
with:
files: ${{ steps.get_version.outputs.version }}-*.tar
Expand Down

0 comments on commit 890c029

Please sign in to comment.