Anand Balakrishnan 2023-10-06 12:13:35 -07:00
parent 3fc4486883
commit 22adbdf1a1
No known key found for this signature in database

View file

@ -108,8 +108,11 @@ jobs:
test-release: test-release:
name: Release (test.pypi.org) name: Release (test.pypi.org)
runs-on: ubuntu-latest runs-on: ubuntu-latest
environment: "Test PyPI" environment:
# if: "startsWith(github.ref, 'refs/tags/')" name: testpypi
url: https://test.pypi.org/p/argus-temporal-logic
permissions:
id-token: write # IMPORTANT: mandatory for trusted publishing
needs: [linux, windows, macos, sdist] needs: [linux, windows, macos, sdist]
steps: steps:
- uses: actions/download-artifact@v3 - uses: actions/download-artifact@v3
@ -119,8 +122,7 @@ jobs:
- name: Publish to PyPI - name: Publish to PyPI
uses: PyO3/maturin-action@v1 uses: PyO3/maturin-action@v1
env: env:
MATURIN_PYPI_TOKEN: ${{ secrets.TEST_PYPI_API_TOKEN }}
MATURIN_REPOSITORY_URL: "https://test.pypi.org" MATURIN_REPOSITORY_URL: "https://test.pypi.org"
with: with:
command: upload command: upload
args: --non-interactive --skip-existing dist/* args: --non-interactive dist/*