From d1e7717319bb802e46cbc4a72def6b2b4bf40556 Mon Sep 17 00:00:00 2001 From: Gabe Fierro Date: Sun, 7 Aug 2022 23:23:54 -0600 Subject: [PATCH] fix path to cargo.toml --- .github/workflows/publish.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index e902393..ca23921 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -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 ${{ secrets.PYPI_USER }} -p ${{ secrets.PYPI_PASS }} - - run: maturin publish --no-sdist -m python/Cargo.toml -u ${{ secrets.PYPI_USER }} -p ${{ secrets.PYPI_PASS }} + - run: maturin publish --no-sdist --universal2 -m Cargo.toml -u ${{ secrets.PYPI_USER }} -p ${{ secrets.PYPI_PASS }} + - run: maturin publish --no-sdist -m 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 ${{ secrets.PYPI_USER }} -p ${{ secrets.PYPI_PASS }} + - run: maturin publish --no-sdist -m Cargo.toml -u ${{ secrets.PYPI_USER }} -p ${{ secrets.PYPI_PASS }} - uses: softprops/action-gh-release@v1 with: files: target/wheels/* @@ -77,7 +77,7 @@ jobs: with: submodules: true - run: pip install maturin - - run: maturin sdist -m python/Cargo.toml + - run: maturin sdist -m Cargo.toml - uses: pypa/gh-action-pypi-publish@release/v1 with: user: ${{ secrets.PYPI_USER }}