File tree 1 file changed +1
-10
lines changed
1 file changed +1
-10
lines changed Original file line number Diff line number Diff line change 17
17
runs-on : ubuntu-latest
18
18
outputs :
19
19
pypi-token : ${{ steps.pypi-token.outputs.pypi-token }}
20
- gh-token : ${{ steps.gh-token.outputs.token }}
21
20
steps :
22
21
# Trusted Publisher PyPI token
23
22
# See: https://docs.pypi.org/trusted-publishers/using-a-publisher/)
@@ -35,18 +34,10 @@ jobs:
35
34
36
35
# see the next step in the workflow for an example of using this step output
37
36
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 }}
46
37
publish :
47
38
needs : tokens
48
39
uses : speakeasy-api/sdk-generation-action/.github/workflows/sdk-publish.yaml@v15
49
40
secrets :
50
- github_access_token : ${{ needs.tokens.outputs.gh-token }}
41
+ github_access_token : ${{ secrets.GITHUB_TOKEN }}
51
42
pypi_token : ${{ needs.tokens.outputs.pypi-token }}
52
43
speakeasy_api_key : ${{ secrets.SPEAKEASY_API_KEY }}
You can’t perform that action at this time.
0 commit comments