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 b34470a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
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
2 changes: 1 addition & 1 deletion .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/setup-python@v5.2.0
with:
python-version: 3.12
python-version: 3.x

- name: Install Poetry
run: |
Expand Down

0 comments on commit b34470a

Please sign in to comment.