Skip to content

Commit

Permalink
Update rust.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
JonathanTurnock authored Jan 16, 2025
1 parent 71ce4ad commit b325d7f
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,17 @@ jobs:
- name: Run Cargo Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Required for tagging and pushing
run: cargo release --execute
run: cargo release --execute

- name: Build DLL
run: cargo build --release

- name: Create GitHub Release
uses: ncipollo/release-action@v1
with:
artifacts: target/release/*.dll
tag: ${{ github.ref_name }} # Uses the tag created by `cargo release`
name: Release ${{ github.ref_name }}
body: |
This release was automatically created using cargo-release and GitHub Actions.
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit b325d7f

Please sign in to comment.