Skip to content

Commit

Permalink
Replace crates.io publish with different action
Browse files Browse the repository at this point in the history
  • Loading branch information
gsleap committed Apr 18, 2024
1 parent c771ea5 commit 37d3978
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -181,13 +181,11 @@ jobs:
- name: Run tests on latest stable rust
run: cargo build --release --features cfitsio-static,examples

- name: Publish to crates.io
env:
CRATES_TOKEN: ${{ secrets.CRATES_TOKEN }}
run: |
cargo publish --no-verify --token "$CRATES_TOKEN"
- uses: katyo/publish-crates@v2
with:
registry-token: ${{ secrets.CRATES_TOKEN }}
args: --no-verify

create-github-and-pypi-release:
name: Create a new github and pypi release
runs-on: ubuntu-latest
Expand Down

0 comments on commit 37d3978

Please sign in to comment.