Skip to content

Commit 0298409

Browse files
committed
Revert changes to release.yml
1 parent 37b6229 commit 0298409

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

.github/workflows/release.yml

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,22 +11,12 @@ jobs:
1111

1212
runs-on: ubuntu-latest
1313
steps:
14-
- id: get-access-token
15-
uses: camertron/github-app-installation-auth-action@v1
16-
with:
17-
app-id: ${{ vars.PRIMER_APP_ID_SHARED }}
18-
private-key: ${{ secrets.PRIMER_APP_PRIVATE_KEY_SHARED }}
19-
client-id: ${{ vars.PRIMER_APP_CLIENT_ID_SHARED }}
20-
client-secret: ${{ secrets.PRIMER_APP_CLIENT_SECRET_SHARED }}
21-
installation-id: ${{ vars.PRIMER_APP_INSTALLATION_ID_SHARED }}
22-
2314
- name: Checkout repository
2415
uses: actions/checkout@v3
2516
with:
2617
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits
2718
fetch-depth: 0
2819
persist-credentials: false
29-
token: ${{ steps.get-access-token.outputs.access-token }}
3020

3121
- name: Set up Node.js
3222
uses: actions/setup-node@v3
@@ -43,6 +33,15 @@ jobs:
4333
yarn
4434
bundle install
4535
36+
- id: get-access-token
37+
uses: camertron/github-app-installation-auth-action@v1
38+
with:
39+
app-id: ${{ vars.PRIMER_APP_ID_SHARED }}
40+
private-key: ${{ secrets.PRIMER_APP_PRIVATE_KEY_SHARED }}
41+
client-id: ${{ vars.PRIMER_APP_CLIENT_ID_SHARED }}
42+
client-secret: ${{ secrets.PRIMER_APP_CLIENT_SECRET_SHARED }}
43+
installation-id: ${{ vars.PRIMER_APP_INSTALLATION_ID_SHARED }}
44+
4645
- name: Create release pull request or publish to npm
4746
id: changesets
4847
uses: changesets/action@master

0 commit comments

Comments
 (0)