Skip to content

Commit

Permalink
fix: release artifacts
Browse files Browse the repository at this point in the history
Signed-off-by: Martichou <m@rtin.fyi>
  • Loading branch information
Martichou committed Jun 19, 2024
1 parent 8e614bd commit 18b37b7
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,15 @@ jobs:
build-release:
runs-on: ubuntu-20.04
steps:
- name: Extract version number
run: |
TAG=${{ github.ref_name }}
echo "VERSION=${TAG#v}" >> $GITHUB_ENV
- name: Print version number
run: |
echo "Version number: ${{ env.VERSION }}"
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
Expand Down Expand Up @@ -48,7 +57,7 @@ jobs:
uses: softprops/action-gh-release@v1
with:
files: |
${{ github.workspace }}/frontend/src-tauri/target/release/bundle/*/r-quick-share_${{ github.ref_name }}*
${{ github.workspace }}/frontend/src-tauri/target/release/bundle/*/r-quick-share_${{ env.VERSION }}*
${{ github.workspace }}/frontend/min_glibc_v*
${{ steps.build-snap.outputs.snap }}
fail_on_unmatched_files: true
Expand Down

0 comments on commit 18b37b7

Please sign in to comment.