Skip to content

Commit

Permalink
ci: fix pypi publishing job
Browse files Browse the repository at this point in the history
  • Loading branch information
foosel committed Nov 12, 2024
1 parent ce63891 commit f799dec
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,11 @@ jobs:
- pre-commit
- e2e
runs-on: ubuntu-latest
permissions:
id-token: write
environment:
name: testpypi
url: https://test.pypi.org/p/OctoPrint-FileCheck
steps:
- name: ⬇ Download build result
uses: actions/download-artifact@v4
Expand All @@ -89,6 +94,11 @@ jobs:
if: github.event_name == 'release'
needs: publish-on-testpypi
runs-on: ubuntu-latest
permissions:
id-token: write
environment:
name: pypi
url: https://pypi.org/p/OctoPrint-FileCheck
steps:
- name: ⬇ Download build result
uses: actions/download-artifact@v4
Expand Down

0 comments on commit f799dec

Please sign in to comment.