Skip to content

Commit

Permalink
fix build file to use username
Browse files Browse the repository at this point in the history
  • Loading branch information
gtfierro committed Aug 8, 2022
1 parent bf69a49 commit b6254ee
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- 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
- uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
user: ${{ secrets.PYPI_USER }}
password: ${{ secrets.PYPI_PASS }}
packages_dir: target/wheels
- uses: softprops/action-gh-release@v1
Expand All @@ -47,8 +47,8 @@ jobs:
python-version: 3.7
- run: rustup update && rustup target add aarch64-apple-darwin
- run: pip install maturin
- run: maturin publish --no-sdist --universal2 -m python/Cargo.toml -u __token__ -p ${{ secrets.PYPI_PASS }}
- run: maturin publish --no-sdist -m python/Cargo.toml -u __token__ -p ${{ secrets.PYPI_PASS }}
- run: maturin publish --no-sdist --universal2 -m python/Cargo.toml -u ${{ secrets.PYPI_USER }} -p ${{ secrets.PYPI_PASS }}
- run: maturin publish --no-sdist -m python/Cargo.toml -u ${{ secrets.PYPI_USER }} -p ${{ secrets.PYPI_PASS }}
- uses: softprops/action-gh-release@v1
with:
files: target/wheels/*
Expand All @@ -65,7 +65,7 @@ jobs:
- run: rustup update
- run: pip install maturin
- run: Remove-Item -LiteralPath "C:\msys64\" -Force -Recurse
- run: maturin publish --no-sdist -m python/Cargo.toml -u __token__ -p ${{ secrets.PYPI_PASS }}
- run: maturin publish --no-sdist -m python/Cargo.toml -u ${{ secrets.PYPI_USER }} -p ${{ secrets.PYPI_PASS }}
- uses: softprops/action-gh-release@v1
with:
files: target/wheels/*
Expand All @@ -80,7 +80,7 @@ jobs:
- run: maturin sdist -m python/Cargo.toml
- uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
user: ${{ secrets.PYPI_USER }}
password: ${{ secrets.PYPI_PASS }}
packages_dir: target/wheels
- uses: softprops/action-gh-release@v1
Expand Down

0 comments on commit b6254ee

Please sign in to comment.