diff --git a/.github/actions/release-pypi/action.yml b/.github/actions/release-pypi/action.yml index 94e04659d..827fd36f2 100644 --- a/.github/actions/release-pypi/action.yml +++ b/.github/actions/release-pypi/action.yml @@ -1,15 +1,9 @@ name: "Release PyPI" description: "Release PyPI" -inputs: - pypi-token: - required: true - description: "PyPI token" runs: using: "composite" steps: - name: Release PyPI shell: bash run: | - export UV_PUBLISH_PASSWORD="${{ inputs.pypi-token }}" - export UV_PUBLISH_USERNAME="__token__" - uv publish --publish-url https://upload.pypi.org/legacy/ + uv publish --publish-url https://upload.pypi.org/legacy/ --trusted-publishing always diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a59887a9e..29d9f86ee 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -32,15 +32,12 @@ jobs: fail-fast: false matrix: os: [ - ubuntu-latest, - ubuntu-22.04-arm, # https://github.com/actions/partner-runner-images/issues/37 https://github.com/orgs/community/discussions/148648#discussioncomment-12099554 - macos-latest, - macos-14-large - ] - python: [ - 12, - 13, - ] + ubuntu-latest, + ubuntu-22.04-arm, # https://github.com/actions/partner-runner-images/issues/37 https://github.com/orgs/community/discussions/148648#discussioncomment-12099554 + macos-latest, + macos-14-large, + ] + python: [12, 13] steps: - name: Github context @@ -61,7 +58,7 @@ jobs: enable-cache: false prune-cache: false python-version: 3.${{ matrix.python }} - version: '0.5.24' + version: "0.5.24" cache-suffix: 3.${{ matrix.python }} - name: Fetch tags @@ -103,8 +100,6 @@ jobs: - name: Release PyPI uses: ./.github/actions/release-pypi - with: - pypi-token: ${{ secrets.PYPI_TOKEN }} - name: Github release id: github-release