Skip to content

Commit 483bef5

Browse files
Merge pull request #196 from chargebee/chore/update-cache-version_next
updated cache action version in release workflow
2 parents 3ec1a28 + 0ec0237 commit 483bef5

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"
2222
- name: Cache node modules
2323
id: cache-nodemodules
24-
uses: actions/cache@v2
24+
uses: actions/cache@v4
2525
env:
2626
cache-name: cache-node-modules
2727
with:
@@ -40,20 +40,20 @@ jobs:
4040
npm config set //registry.npmjs.com/:_authToken=$NPM_TOKEN
4141
npm config list
4242
env:
43-
NPM_TOKEN: ${{ secrets.RN_SDK_NPM_WRITE_TOKEN_1 }}
43+
NPM_TOKEN: ${{ secrets.RN_SDK_NPM_WRITE_TOKEN_2 }}
4444
- name: Yarn Tests
4545
run: yarn test
4646
- name: Pre-Release package
4747
if: github.ref == 'refs/heads/next'
4848
run: npm run release -- --ci --preRelease=beta -VV
4949
env:
50-
NPM_TOKEN: ${{ secrets.RN_SDK_NPM_WRITE_TOKEN_1 }}
50+
NPM_TOKEN: ${{ secrets.RN_SDK_NPM_WRITE_TOKEN_2 }}
5151
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5252
- name: Release package
5353
if: github.ref == 'refs/heads/master'
5454
run: npm run release -- --ci -VV
5555
env:
56-
NPM_TOKEN: ${{ secrets.RN_SDK_NPM_WRITE_TOKEN_1 }}
56+
NPM_TOKEN: ${{ secrets.RN_SDK_NPM_WRITE_TOKEN_2 }}
5757
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5858
- name: Create PR for package.json and changelogs
5959
run: |

0 commit comments

Comments
 (0)