From 23648545e5a99b762eab2fe8f200c427beb2681b Mon Sep 17 00:00:00 2001 From: Rohit Sharma Date: Tue, 22 Jul 2025 16:42:12 +0530 Subject: [PATCH 1/2] updated cache action version in release workflow --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 60ce2fe..0437eec 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -21,7 +21,7 @@ jobs: git config user.email "${GITHUB_ACTOR}@users.noreply.github.com" - name: Cache node modules id: cache-nodemodules - uses: actions/cache@v2 + uses: actions/cache@v4 env: cache-name: cache-node-modules with: From 0ec02376819d38cda0469b77be1fe8f7332de72c Mon Sep 17 00:00:00 2001 From: Rohit Sharma Date: Tue, 22 Jul 2025 19:53:01 +0530 Subject: [PATCH 2/2] npm token updated --- .github/workflows/release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0437eec..3a02f57 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -40,20 +40,20 @@ jobs: npm config set //registry.npmjs.com/:_authToken=$NPM_TOKEN npm config list env: - NPM_TOKEN: ${{ secrets.RN_SDK_NPM_WRITE_TOKEN_1 }} + NPM_TOKEN: ${{ secrets.RN_SDK_NPM_WRITE_TOKEN_2 }} - name: Yarn Tests run: yarn test - name: Pre-Release package if: github.ref == 'refs/heads/next' run: npm run release -- --ci --preRelease=beta -VV env: - NPM_TOKEN: ${{ secrets.RN_SDK_NPM_WRITE_TOKEN_1 }} + NPM_TOKEN: ${{ secrets.RN_SDK_NPM_WRITE_TOKEN_2 }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Release package if: github.ref == 'refs/heads/master' run: npm run release -- --ci -VV env: - NPM_TOKEN: ${{ secrets.RN_SDK_NPM_WRITE_TOKEN_1 }} + NPM_TOKEN: ${{ secrets.RN_SDK_NPM_WRITE_TOKEN_2 }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Create PR for package.json and changelogs run: |