Skip to content

Commit

Permalink
Disable publish-crate workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mmghannam committed Mar 10, 2024
1 parent 2f0f63f commit 91c41ee
Showing 1 changed file with 18 additions and 17 deletions.
35 changes: 18 additions & 17 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,23 +65,24 @@ jobs:
rustup toolchain install nightly
RUSTFLAGS=-Zsanitizer=leak cargo +nightly test --features raw
publish-crate:
needs:
- linux-conda-test
- test-with-coverage
- windows-test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- name: publish crate
uses: katyo/publish-crates@v2
if: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') }}
with:
registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}
# TODO: make this work with a manual run of the action
# publish-crate:
# needs:
# - linux-conda-test
# - test-with-coverage
# - windows-test
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v3
# - uses: actions-rs/toolchain@v1
# with:
# toolchain: stable
# override: true
# - name: publish crate
# uses: katyo/publish-crates@v2
# if: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') }}
# with:
# registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}

windows-test:
env:
Expand Down

0 comments on commit 91c41ee

Please sign in to comment.