From 73dc292a8456146d539d8f30a359ef77a1f4a456 Mon Sep 17 00:00:00 2001 From: Sujal Date: Wed, 19 Feb 2025 20:44:27 +0530 Subject: [PATCH] Update android.yml --- .github/workflows/android.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index efcc93e1a..f15e84741 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -119,15 +119,15 @@ jobs: if: github.event_name == 'pull_request' uses: actions/github-script@v6 with: - github-token: ${{ secrets.GITHUB_TOKEN }} + github-token: ${{ secrets.MY_GITHUB_TOKEN }} script: | try { - if (!process.env.GITHUB_TOKEN) { + if (!process.env.MY_GITHUB_TOKEN) { console.log('❌ GITHUB_TOKEN is not available. Please check repository secrets.'); core.setFailed('GITHUB_TOKEN is missing.'); return; } else { - console.log(`✅ GITHUB_TOKEN is present: ****${process.env.GITHUB_TOKEN.slice(-4)}`); + console.log(`✅ GITHUB_TOKEN is present: ****${process.env.MY_GITHUB_TOKEN.slice(-4)}`); } const { data: { artifacts } } = await github.rest.actions.listWorkflowRunArtifacts({