Skip to content

Commit

Permalink
Merge pull request #55 from PatrickOHara/walk-fix
Browse files Browse the repository at this point in the history
Walk fixes
  • Loading branch information
PatrickOHara authored Jan 29, 2024
2 parents a8e381a + 0c87bac commit 0e0d1eb
Showing 1 changed file with 15 additions and 9 deletions.
24 changes: 15 additions & 9 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,9 @@ on:
- main

jobs:
deploy:
name: upload release to PyPI
bump:
name: bump version
runs-on: ubuntu-latest
# Specifying a GitHub environment is optional, but strongly encouraged
environment: release
permissions:
# IMPORTANT: this permission is mandatory for trusted publishing
id-token: write
steps:
- uses: actions/checkout@v2
- name: Bump version and push tag
Expand All @@ -28,5 +23,16 @@ jobs:
REPO_OWNER: PatrickOHara
RELEASE_BRANCHES: main

- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
pypi-publish:
name: upload release to PyPI
needs: bump
runs-on: ubuntu-latest
# Specifying a GitHub environment is optional, but strongly encouraged
environment: release
permissions:
# IMPORTANT: this permission is mandatory for trusted publishing
id-token: write
steps:
# retrieve your distributions here
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1

0 comments on commit 0e0d1eb

Please sign in to comment.