Skip to content

Commit

Permalink
ci: Move logic to reusable PyPI deployment workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
b-butler committed Jan 16, 2024
1 parent 5cc0b8a commit fb2611c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 13 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/deploy-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ concurrency:

jobs:
build-test-publish-to-pypi:
environment: release
permissions:
id-token: write
uses: ./.github/workflows/publish-packages.yml
with:
upload_to_test: false
13 changes: 3 additions & 10 deletions .github/workflows/deploy-test-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,6 @@ concurrency:

jobs:
build-test-publish-to-testpypi:
name: Upload to TestPyPI
runs-on: ubuntu-latest
environment: release
permissions:
id-token: write
steps:
- name: Upload
uses: ./.github/workflows/publish-packages.yml
with:
upload_to_test: true
uses: ./.github/workflows/publish-packages.yml
with:
upload_to_test: true
3 changes: 3 additions & 0 deletions .github/workflows/publish-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ on:
jobs:
build:
runs-on: ubuntu-latest
environment: release
permissions:
id-token: write
steps:
- name: Check out repo
uses: actions/checkout@v3
Expand Down

0 comments on commit fb2611c

Please sign in to comment.