Skip to content

Commit

Permalink
fix release workflow #4 (please just work this time)
Browse files Browse the repository at this point in the history
  • Loading branch information
Vulae committed Aug 1, 2024
1 parent 0ee3cd1 commit 7b4e418
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,18 @@ jobs:
if: matrix.linker_package != null
run: sudo apt-get install -y ${{ matrix.linker_package }}

- name: Install Rust target
run: rustup target add ${{ matrix.target }}

- name: Build project
run: cargo build --release --target ${{ matrix.target }}

- name: Upload binary to release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: target/${{ matrix.target }}/release/${{ matrix.filename }}
asset_name: ${{ matrix.filename }}
file: target/${{ matrix.target }}/release/${{ matrix.artifact_name }}
asset_name: ${{ matrix.asset_name }}
tag: ${{ github.ref }}
overwrite: true
body: "Release for ${{ matrix.os }}"
Expand Down

0 comments on commit 7b4e418

Please # to comment.