We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents eaa9296 + 0e66990 commit 1e81207Copy full SHA for 1e81207
.github/workflows/build.yml
@@ -91,11 +91,18 @@ jobs:
91
outputs:
92
url: ${{ steps.create_release.outputs.upload_url }}
93
steps:
94
+ - name: create app token
95
+ uses: actions/create-github-app-token@v1
96
+ id: app-token
97
+ with:
98
+ # required
99
+ app-id: ${{ vars.TS_LEGACY_BUILDER_APP_ID }}
100
+ private-key: ${{ secrets.TS_LEGACY_BUILDER_PRIVKEY }}
101
- name: create release
102
id: create_release
103
uses: actions/create-release@v1
104
env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
105
+ GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
106
with:
107
# Release name can't be the same as tag name, sigh
108
tag_name: build-${{ inputs.ref || github.sha }}
0 commit comments