Skip to content

Commit

Permalink
chore: publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
marvinlanhenke committed Oct 7, 2024
1 parent d3944fb commit 0cdb8ef
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,9 @@ jobs:
run: sudo apt-get install -y protobuf-compiler
- name: Dryrun swim-rs
run: cargo publish --all-features --dry-run

# - name: Publish swim-rs
# # Only publish if it's a tag and the tag is not a pre-release
# if: ${{ startsWith(github.ref, 'refs/tags/') && !contains(github.ref, '-') }}
# run: cargo publish --all-features
# env:
# CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
- name: Publish swim-rs
# Only publish if it's a tag and the tag is not a pre-release
if: ${{ startsWith(github.ref, 'refs/tags/') && !contains(github.ref, '-') }}
run: cargo publish --all-features
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}

0 comments on commit 0cdb8ef

Please sign in to comment.