Skip to content

Commit

Permalink
Update release workflow to use manoadamro/rust-release action and che…
Browse files Browse the repository at this point in the history
…ckout@v4
  • Loading branch information
kaorlol committed Dec 22, 2024
1 parent 653ce3e commit f8e280c
Showing 1 changed file with 5 additions and 12 deletions.
17 changes: 5 additions & 12 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,11 @@ env:

jobs:
release:
name: release ${{ matrix.target }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
target: [x86_64-pc-windows-gnu, x86_64-unknown-linux-musl, x86_64-apple-darwin]
steps:
- uses: actions/checkout@master
- name: Compile and release
uses: rust-build/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/checkout@v4
- uses: manoadamro/rust-release@v1
with:
RUSTTARGET: ${{ matrix.target }}
EXTRA_FILES: "README.md LICENSE"
owner: ${{ github.repository_owner }}
repo: ${{ github.repository }}
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit f8e280c

Please sign in to comment.