Skip to content

Commit

Permalink
cleaned up the file
Browse files Browse the repository at this point in the history
  • Loading branch information
Bullrich committed May 24, 2024
1 parent c39d1ab commit 9aa1815
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ on:

jobs:
publish:
name: Build & Publish to Crates.io
name: Publish to Crates.io
runs-on: ubuntu-latest
steps:
- name: Clean variable
id: version
run: |
TAG="v3.2.1"
TAG="${{ github.event.release.tag_name }}"
echo "VERSION=${TAG#v}" >> $GITHUB_OUTPUT
- uses: actions/checkout@v4
- name: Set up Python
Expand All @@ -30,8 +30,6 @@ jobs:
with:
toolchain: stable
override: true
- run: cat Cargo.toml
- uses: katyo/publish-crates@v2
if: github.event_name == 'push'
with:
registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}

0 comments on commit 9aa1815

Please sign in to comment.