Skip to content

Commit d5480b0

Browse files
authored
ci: use electron/secret-service-action in release workflow (#1786)
1 parent e49fd89 commit d5480b0

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -137,14 +137,12 @@ jobs:
137137
path: out
138138
pattern: build-artifacts-*
139139
merge-multiple: true
140-
- name: Generate GitHub App token
141-
uses: electron/github-app-auth-action@384fd19694fe7b6dcc9a684746c6976ad78228ae # v1.1.1
142-
id: generate-token
143-
with:
144-
creds: ${{ secrets.FIDDLE_RELEASE_APP_CREDS }}
140+
- name: Get GitHub app token
141+
id: secret-service
142+
uses: electron/secret-service-action@3476425e8b30555aac15b1b7096938e254b0e155 # v1.0.0
145143
- name: Publish to GitHub
146144
env:
147-
GITHUB_TOKEN: ${{ steps.generate-token.outputs.token }}
145+
GITHUB_TOKEN: ${{ fromJSON(steps.secret-service.outputs.secrets).GITHUB_TOKEN }}
148146
run: yarn run publish --from-dry-run
149147

150148
notify-sentry-deploy:

0 commit comments

Comments
 (0)