Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/publish-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ jobs:
matrix:
python-version: [ "3.10" ]
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v4
Expand All @@ -23,7 +24,7 @@ jobs:
pdm install --global --project .
- name: publish
run: |
pdm publish --repository https://test.pypi.org/legacy/
pdm publish --repository testpypi


publish-docs:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ jobs:
matrix:
python-version: [ "3.10" ]
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v4
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release-staging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ jobs:
publish:
name: Publish staging release
permissions:
contents: read
id-token: write
pages: write
uses: ./.github/workflows/publish-test.yaml
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@ jobs:
publish:
name: Publish release
permissions:
contents: read
id-token: write
uses: ./.github/workflows/publish.yaml
Loading