From b6254ee286f38d86b0932997b0b8cbe25fb7c798 Mon Sep 17 00:00:00 2001 From: Gabe Fierro Date: Sun, 7 Aug 2022 23:21:22 -0600 Subject: [PATCH] fix build file to use username --- .github/workflows/publish.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 45c8381..e902393 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -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 @@ -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/* @@ -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/* @@ -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