File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717 runs-on : ubuntu-latest
1818 outputs :
1919 pypi-token : ${{ steps.pypi-token.outputs.pypi-token }}
20- gh-token : ${{ steps.gh-token.outputs.token }}
2120 steps :
2221 # Trusted Publisher PyPI token
2322 # See: https://docs.pypi.org/trusted-publishers/using-a-publisher/)
@@ -35,18 +34,10 @@ jobs:
3534
3635 # see the next step in the workflow for an example of using this step output
3736 echo "pypi-token=${api_token}" >> "${GITHUB_OUTPUT}"
38- # Generate a GitHub App Installation token to allow this workflow to trigger other events (like release published)
39- # See: https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/triggering-a-workflow#triggering-a-workflow-from-a-workflow
40- - name : Generate a GitHub App Installation token
41- id : gh-token
42- uses : actions/create-github-app-token@v1
43- with :
44- app-id : ${{ secrets.INTERNAL_GHA_APP_ID }}
45- private-key : ${{ secrets.INTERNAL_GHA_APP_PRIVATE_KEY }}
4637 publish :
4738 needs : tokens
4839 uses : speakeasy-api/sdk-generation-action/.github/workflows/sdk-publish.yaml@v15
4940 secrets :
50- github_access_token : ${{ needs.tokens.outputs.gh-token }}
41+ github_access_token : ${{ secrets.GITHUB_TOKEN }}
5142 pypi_token : ${{ needs.tokens.outputs.pypi-token }}
5243 speakeasy_api_key : ${{ secrets.SPEAKEASY_API_KEY }}
You can’t perform that action at this time.
0 commit comments