File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 88 steps :
99 - name : Debug GitHub Actions Environment
1010 run : |
11- GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}
12- NPM_TOKEN=${{ secrets.NPM_TOKEN }}
1311 echo "### 🔍 Checking GitHub Secrets & Environment Variables ###"
1412
1513 # Check if GITHUB_TOKEN is set
16- if [[ -z "$GITHUB_TOKEN" ]]; then
14+ if [[ -z "${{ secrets. GITHUB_TOKEN }} " ]]; then
1715 echo "❌ GITHUB_TOKEN is NOT set. This may be due to missing permissions or a misconfigured repository secret.";
1816 else
1917 echo "✅ GITHUB_TOKEN is set.";
2018 fi
2119
2220 # Check if NPM_TOKEN is set
23- if [[ -z "$NPM_TOKEN" ]]; then
21+ if [[ -z "${{ secrets. NPM_TOKEN }} " ]]; then
2422 echo "❌ NPM_TOKEN is NOT set. Ensure it exists in repository secrets under Settings → Secrets.";
2523 else
2624 echo "✅ NPM_TOKEN is set.";
2725 fi
26+ echo "### 🔍 Checking GitHub Secrets & Environment Variables ###"
2827
2928 # Check current GitHub Actions permissions
3029 echo "🔹 Workflow permissions setting:"
You can’t perform that action at this time.
0 commit comments