chore: 移除 EAS 登录步骤并将 EXPO_TOKEN 环境变量移至作业级别
Some checks failed
Expo Local Build APK / build-apk (push) Failing after 3m35s
Some checks failed
Expo Local Build APK / build-apk (push) Failing after 3m35s
This commit is contained in:
@@ -9,6 +9,8 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
build-apk:
|
build-apk:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
env:
|
||||||
|
EXPO_TOKEN: ${{ secrets.EXPO_TOKEN }}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
@@ -26,11 +28,6 @@ jobs:
|
|||||||
- name: Install Expo CLI & EAS CLI
|
- name: Install Expo CLI & EAS CLI
|
||||||
run: pnpm add -g expo-cli eas-cli
|
run: pnpm add -g expo-cli eas-cli
|
||||||
|
|
||||||
- name: EAS Login
|
|
||||||
run: eas login
|
|
||||||
env:
|
|
||||||
EXPO_TOKEN: ${{ secrets.EXPO_TOKEN }}
|
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: pnpm install --frozen-lockfile
|
run: pnpm install --frozen-lockfile
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user