Skip to content

Commit

Permalink
Update action
Browse files Browse the repository at this point in the history
  • Loading branch information
AdamRJensen committed Dec 11, 2024
1 parent 883eec0 commit b192396
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
name: Publish distributions to PyPI

permissions:
id-token: write # This is required for requesting the JWT
contents: read # This is required for actions/checkout

# if this workflow is modified to be a generic CI workflow then
# add an if statement to the publish step so it only runs on tags.
on:
Expand All @@ -16,6 +12,9 @@ jobs:
name: Build and publish distributions to PyPI
if: github.repository == 'pvlib/twoaxistracking'
runs-on: ubuntu-latest
permissions:
id-token: write # This is required for requesting the JWT
contents: read # This is required for actions/checkout
steps:
# fetch all commits and tags so versioneer works
- uses: actions/checkout@v4
Expand Down

0 comments on commit b192396

Please sign in to comment.