feat(UpdateChecker): 添加更新对话框中的日期和时间显示,优化文本内容 #152
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Update | |
on: | |
push: | |
branches: | |
- update | |
jobs: | |
update: | |
runs-on: ubuntu-latest | |
steps: | |
- name: 🏗 Setup repo | |
uses: actions/checkout@v4 | |
- name: Setup new yarn | |
run: | | |
corepack enable | |
yarn set version 4.5.0 | |
- name: 🏗 Setup Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 18.x | |
cache: yarn | |
- name: 🏗 Setup EAS | |
uses: expo/expo-github-action@v8 | |
with: | |
eas-version: latest | |
token: ${{ secrets.EXPO_TOKEN }} | |
- name: 📦 Install dependencies | |
run: | |
yarn install | |
- name: 🚀 Create update | |
run: eas update --channel production --platform android --auto --non-interactive | |
- name: Upload Source Maps | |
env: | |
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} | |
run: | | |
npx sentry-expo-upload-sourcemaps dist | |