Skip to content

v0.1.1

v0.1.1 #59

Workflow file for this run

name: CI
on:
push:
branches:
- main
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: πŸ— Setup repo
uses: actions/checkout@v3
- name: πŸ— Setup Node
uses: actions/setup-node@v4
with:
node-version: 18.x
cache: npm
- name: πŸ— Setup Expo
uses: expo/expo-github-action@v7
with:
expo-version: latest
eas-version: latest
token: ${{ secrets.EXPO_TOKEN }}
- name: πŸ“¦ Install dependencies
run: npm install
- name: πŸš€ Retrieve Secrets
env:
ANDROID_JSON_BASE64: ${{ secrets.ANDROID_JSON_BASE64 }}
APPLE_P8_BASE64: ${{ secrets.APPLE_P8_BASE64 }}
run: |
echo $ANDROID_JSON_BASE64 | base64 --decode > ./release/android.json
echo $APPLE_P8_BASE64 | base64 --decode > ./release/apple.p8
- name: πŸš€ Publish app
run: eas update --channel production --message "new main release"
- name: πŸš€ Build on EAS
if: startsWith(github.event.head_commit.message,'v0.')
run: eas build --platform android --profile production --non-interactive --no-wait --auto-submit