Skip to content

Commit

Permalink
build: Configure Trusted Publisher for the repository (#197)
Browse files Browse the repository at this point in the history
  • Loading branch information
playpauseandstop committed Feb 11, 2024
1 parent 7afb207 commit 87f4943
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 15 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,6 @@ jobs:
needs: ["test"]

uses: "./.github/workflows/ci_package.yml"
secrets:
pypi-user: "${{ secrets.PYPI_USERNAME }}"
pypi-password: "${{ secrets.PYPI_PASSWORD }}"

release:
needs: ["package"]
Expand Down
12 changes: 0 additions & 12 deletions .github/workflows/ci_package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,6 @@ on:
required: false
default: "4.0.2"

secrets:
pypi-user:
description: "PyPI username to use."
required: true

pypi-password:
description: "PyPI password (token) to use."
required: true

jobs:
package:
name: "Build & Deploy Package"
Expand All @@ -44,6 +35,3 @@ jobs:
- name: "Publish package"
if: "${{ startsWith(github.ref, 'refs/tags/') }}"
uses: "pypa/gh-action-pypi-publish@v1.8.11"
with:
user: "${{ secrets.pypi-user }}"
password: "${{ secrets.pypi-password }}"

0 comments on commit 87f4943

Please sign in to comment.