Skip to content

Commit

Permalink
add cargo-release
Browse files Browse the repository at this point in the history
  • Loading branch information
Javagedes committed Oct 6, 2024
1 parent 4fb54d1 commit 7315f55
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/cargo-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Upload to Cargo

on:
release:
types: [published]

jobs:
publish:
name: Publish to Crates.io

runs-on: ubuntu-latest

steps:
- name: Checkout Repository
uses: actions/checkout@v4

- name: Download Rust Tools
uses: ./.github/actions/install-rust-tools

- name: Extract tag version
run: |
TAG=${GITHUB_REF##*/}
VERSION=${TAG#v}
echo "Version: $VERSION"
echo "version=$VERSION" >> $GITHUB_ENV

0 comments on commit 7315f55

Please sign in to comment.