Skip to content

Commit

Permalink
fix: add personal access token to github action (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
mdtanker committed Nov 22, 2023
1 parent b318687 commit cc0f1ed
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,10 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0
token: ${{secrets.PAT}}

- name: Python Semantic Release
uses: python-semantic-release/python-semantic-release@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}

# Always build & lint package.
build-package:
Expand All @@ -44,7 +43,7 @@ jobs:
# Upload to Test PyPI on every commit on main.
release-test-pypi:
name: Publish in-dev package to test.pypi.org
needs: build-package
needs: [release, build-package]
environment:
name: testpypi
url: https://pypi.org/p/invert4geom
Expand All @@ -68,7 +67,7 @@ jobs:
# Upload to real PyPI on GitHub Releases.
release-pypi:
name: Publish released package to pypi.org
needs: build-package
needs: [release, build-package]
environment:
name: pypi
url: https://pypi.org/p/invert4geom
Expand Down

0 comments on commit cc0f1ed

Please sign in to comment.