chore(global): update version to 3.1.0 and modify update information #27
This file contains hidden or 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: Test Update | |
| description: Release ota updates on updateInfo.json change | |
| on: | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - 'src/assets/data/updateInfo.json' | |
| jobs: | |
| eas-update: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v3 | |
| - name: Set up pnpm | |
| uses: pnpm/action-setup@v3 | |
| with: | |
| version: '9.14.4' | |
| - name: Install dependencies | |
| run: pnpm install | |
| - name: Install EAS CLI | |
| run: pnpm install -g eas-cli | |
| - name: Run EAS Update | |
| env: | |
| EXPO_TOKEN: ${{ secrets.EXPO_TOKEN }} | |
| run: | | |
| eas update --branch test --message "${{ github.event.head_commit.message }}" |