Skip to content

Commit

Permalink
chore(workflow): temp disable workflow publish crate on tag
Browse files Browse the repository at this point in the history
  • Loading branch information
negezor committed Apr 24, 2024
1 parent b52d751 commit a097f53
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,16 +76,16 @@ jobs:
run: |
cargo install --force cargo-audit
cargo audit
publish_on_crates_io:
name: Publish on crates.io
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags') # Only on tags
needs:
- test
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install rust
uses: dtolnay/rust-toolchain@stable
- name: Run cargo publish
run: cargo publish --token ${{ secrets.CRATES_IO_TOKEN }}
# publish_on_crates_io:
# name: Publish on crates.io
# runs-on: ubuntu-latest
# if: startsWith(github.ref, 'refs/tags') # Only on tags
# needs:
# - test
# steps:
# - name: Checkout code
# uses: actions/checkout@v4
# - name: Install rust
# uses: dtolnay/rust-toolchain@stable
# - name: Run cargo publish
# run: cargo publish --token ${{ secrets.CRATES_IO_TOKEN }}

0 comments on commit a097f53

Please sign in to comment.