Skip to content

Commit

Permalink
Fix publish
Browse files Browse the repository at this point in the history
  • Loading branch information
t-young31 committed Aug 28, 2023
1 parent 6f5bfb2 commit 524e5ca
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ jobs:
run: |
cat <<EOF > publish.sh
#!/bin/bash
docker run --rm -v $(pwd):/io ghcr.io/pyo3/maturin \
docker run --rm -v \$(pwd):/io ghcr.io/pyo3/maturin \
build --interpreter ${{ matrix.python-version }} --release --strip
docker run --rm -v $(pwd):/io -e MATURIN_PYPI_TOKEN="\$1" \
ghcr.io/pyo3/maturin publish --interpreter ${{ matrix.python-version }}
docker run --rm -v \$(pwd):/io -e MATURIN_PYPI_TOKEN="\$1" \
ghcr.io/pyo3/maturin publish --interpreter ${{ matrix.python-version }} --skip-existing
EOF
chmod +x publish.sh
Expand Down Expand Up @@ -65,7 +65,7 @@ jobs:
cat <<EOF > publish.sh
#!/bin/bash
maturin build --release --strip --target ${{ matrix.arch }}
maturin publish
maturin publish --skip-existing
EOF
chmod +x publish.sh
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![Test](https://github.com/t-young31/opt-rs/actions/workflows/test.yml/badge.svg)](https://github.com/t-young31/opt-rs/actions/workflows/test.yml) [![codecov](https://codecov.io/gh/t-young31/mors/branch/main/graph/badge.svg?token=5KTYG2WJ9L)](https://codecov.io/gh/t-young31/mors)
[![Test](https://github.com/t-young31/opt-rs/actions/workflows/test.yml/badge.svg)](https://github.com/t-young31/opt-rs/actions/workflows/test.yml) [![codecov](https://codecov.io/gh/t-young31/opt-rs/graph/badge.svg?token=5KTYG2WJ9L)](https://codecov.io/gh/t-young31/opt-rs)

![alt text](src/common/logo.png)

Expand Down

0 comments on commit 524e5ca

Please sign in to comment.