Skip to content

Commit

Permalink
馃懛 misc(release): fix cargo publish
Browse files Browse the repository at this point in the history
Needs `--allow-dirty` due to the artifacts/ directory.
  • Loading branch information
welpo committed Feb 5, 2024
1 parent e339cdb commit 65cfcc9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Expand Up @@ -148,7 +148,7 @@ jobs:
path: |
${{ steps.cargo-dist.outputs.paths }}
${{ env.BUILD_MANIFEST_NAME }}
- name: Upload to PyPi
- name: Build for PyPi
uses: PyO3/maturin-action@v1
with:
command: build
Expand Down Expand Up @@ -276,7 +276,7 @@ jobs:
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
- name: Publish to crates.io
run: cargo publish --locked --token ${{ secrets.CRATES_IO_API_TOKEN }}
run: cargo publish --allow-dirty --locked --token ${{ secrets.CRATES_IO_API_TOKEN }}
- name: Publish to PyPi
uses: PyO3/maturin-action@v1
env:
Expand Down

0 comments on commit 65cfcc9

Please sign in to comment.