Skip to content

Commit

Permalink
chore: Use a GitHub environment for publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
edgarrmondragon committed Sep 2, 2024
1 parent 1f89a34 commit e102122
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/dynamic-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ jobs:
publish:
runs-on: ubuntu-latest
needs: build
environment:
name: pypi
url: https://pypi.org/p/tap-jotform
if: startsWith(github.ref, 'refs/tags/')
steps:
- uses: actions/download-artifact@v4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
- name: Set up Python
uses: actions/[email protected]
with:
python-version: 3.12
python-version: 3.x

- name: Install Poetry
run: |
Expand Down Expand Up @@ -85,7 +85,7 @@ jobs:
strategy:
matrix:
include:
- {python-version: "3.12", session: "mypy"}
- {python-version: "3.x", session: "mypy"}
- {python-version: "3.13", session: "tests"}
- {python-version: "3.12", session: "tests"}
- {python-version: "3.11", session: "tests"}
Expand Down

0 comments on commit e102122

Please sign in to comment.