File tree Expand file tree Collapse file tree 1 file changed +3
-21
lines changed Expand file tree Collapse file tree 1 file changed +3
-21
lines changed Original file line number Diff line number Diff line change 3232 required : true
3333 type : string
3434 secrets :
35- BOT_ID :
36- required : true
37- BOT_SK :
38- required : true
3935 APPLE_CERTIFICATE :
4036 required : true
4137 APPLE_CERTIFICATE_PASSWORD :
@@ -77,24 +73,10 @@ jobs:
7773 platform : [ubuntu-22.04, windows-latest, macos-13, macos-14]
7874
7975 steps :
80- - name : Generate bot token
81- uses : actions/create-github-app-token@v1
82- id : app_token
83- with :
84- app-id : ${{ secrets.BOT_ID }}
85- private-key : ${{ secrets.BOT_SK }}
86-
87- - name : Debug app token
88- run : |
89- echo "App token length: ${#APP_TOKEN}"
90- echo "First 4 characters: ${APP_TOKEN:0:4}..."
91- env :
92- APP_TOKEN : ${{ steps.app_token.outputs.token }}
93-
9476 - uses : actions/checkout@v4
9577 with :
96- # Use bot token for authenticated operations
97- token : ${{ steps.app_token.outputs.token }}
78+ # Use GitHub token for authenticated operations
79+ token : ${{ secrets.GITHUB_TOKEN }}
9880 fetch-depth : 0
9981
10082 - name : Setup node
10890 - name : Install npm dependencies
10991 run : npm ci --ignore-scripts
11092 env :
111- NODE_AUTH_TOKEN : ${{ steps.app_token.outputs.token }}
93+ NODE_AUTH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
11294
11395 # Let scripts run without the token
11496 - run : npm rebuild
You can’t perform that action at this time.
0 commit comments