Skip to content

Commit

Permalink
stopped clash of artifact name
Browse files Browse the repository at this point in the history
  • Loading branch information
ohuu committed Aug 27, 2024
1 parent 71da953 commit 2812bf8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ jobs:
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: cardamon-${{ matrix.os }}
path: cardamon-${{ matrix.target }}-${{ github.ref_name }}.${{ matrix.archive_ext }}

publish_crate:
Expand Down Expand Up @@ -109,9 +110,10 @@ jobs:
- name: Download artifacts
uses: actions/download-artifact@v4
with:
path: artifact
path: artifacts
pattern: cardamon-*
merge-multiple: true
- name: Create release
run: gh release create ${{ github.ref_name }} --draft --title "Release ${{ github.ref_name }}" --notes "" artifact/cardamon-x86_64-unknown-linux-gnu-${{ github.ref_name }}.tgz artifact/cardamon-x86_64-pc-windows-msvc-${{ github.ref_name }}.zip
run: gh release create ${{ github.ref_name }} --draft --title "Release ${{ github.ref_name }}" --notes "" artifacts/cardamon-x86_64-unknown-linux-gnu-${{ github.ref_name }}.tgz artifacts/cardamon-x86_64-pc-windows-msvc-${{ github.ref_name }}.zip
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 2812bf8

Please sign in to comment.