Skip to content

Commit b6254ee

Browse files
committed
fix build file to use username
1 parent bf69a49 commit b6254ee

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/publish.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- run: docker run -v "$(pwd)":/workdir --platform linux/${{ matrix.architecture }} quay.io/pypa/manylinux2014_${{ matrix.architecture }} /bin/bash /workdir/.github/workflows/manylinux_build_script.sh
2626
- uses: pypa/gh-action-pypi-publish@release/v1
2727
with:
28-
user: __token__
28+
user: ${{ secrets.PYPI_USER }}
2929
password: ${{ secrets.PYPI_PASS }}
3030
packages_dir: target/wheels
3131
- uses: softprops/action-gh-release@v1
@@ -47,8 +47,8 @@ jobs:
4747
python-version: 3.7
4848
- run: rustup update && rustup target add aarch64-apple-darwin
4949
- run: pip install maturin
50-
- run: maturin publish --no-sdist --universal2 -m python/Cargo.toml -u __token__ -p ${{ secrets.PYPI_PASS }}
51-
- run: maturin publish --no-sdist -m python/Cargo.toml -u __token__ -p ${{ secrets.PYPI_PASS }}
50+
- run: maturin publish --no-sdist --universal2 -m python/Cargo.toml -u ${{ secrets.PYPI_USER }} -p ${{ secrets.PYPI_PASS }}
51+
- run: maturin publish --no-sdist -m python/Cargo.toml -u ${{ secrets.PYPI_USER }} -p ${{ secrets.PYPI_PASS }}
5252
- uses: softprops/action-gh-release@v1
5353
with:
5454
files: target/wheels/*
@@ -65,7 +65,7 @@ jobs:
6565
- run: rustup update
6666
- run: pip install maturin
6767
- run: Remove-Item -LiteralPath "C:\msys64\" -Force -Recurse
68-
- run: maturin publish --no-sdist -m python/Cargo.toml -u __token__ -p ${{ secrets.PYPI_PASS }}
68+
- run: maturin publish --no-sdist -m python/Cargo.toml -u ${{ secrets.PYPI_USER }} -p ${{ secrets.PYPI_PASS }}
6969
- uses: softprops/action-gh-release@v1
7070
with:
7171
files: target/wheels/*
@@ -80,7 +80,7 @@ jobs:
8080
- run: maturin sdist -m python/Cargo.toml
8181
- uses: pypa/gh-action-pypi-publish@release/v1
8282
with:
83-
user: __token__
83+
user: ${{ secrets.PYPI_USER }}
8484
password: ${{ secrets.PYPI_PASS }}
8585
packages_dir: target/wheels
8686
- uses: softprops/action-gh-release@v1

0 commit comments

Comments
 (0)