🐢 Turtle CLI with GitHub Actions for building expo-project
This action is currently in beta.
- Android
- iOS
See action.yml
for details of arguments.
In workflow:
- name: Build
id: expo-build
uses: nzws/turtle-action@master
with:
build-os: 'android'
expo-sdk-version: '36.0.0' # your SDK version
env:
EXPO_USERNAME: ${{ secrets.EXPO_USERNAME }}
EXPO_PASSWORD: ${{ secrets.EXPO_PASSWORD }}
EXPO_ANDROID_KEYSTORE_BASE64: ${{ secrets.EXPO_ANDROID_KEYSTORE_BASE64 }}
EXPO_ANDROID_KEYSTORE_ALIAS: ${{ secrets.EXPO_ANDROID_KEYSTORE_ALIAS }}
EXPO_ANDROID_KEYSTORE_PASSWORD: ${{ secrets.EXPO_ANDROID_KEYSTORE_PASSWORD }}
EXPO_ANDROID_KEY_PASSWORD: ${{ secrets.EXPO_ANDROID_KEY_PASSWORD }}
- name: Upload asset
uses: actions/upload-artifact@v1
with:
name: asset
path: ${{ steps.expo-build.outputs.asset-path }}
- name: Build
id: expo-build
uses: nzws/turtle-action@master
with:
build-os: 'ios'
expo-sdk-version: '36.0.0' # your SDK version
env:
EXPO_USERNAME: ${{ secrets.EXPO_USERNAME }}
EXPO_PASSWORD: ${{ secrets.EXPO_PASSWORD }}
EXPO_APPLE_TEAM_ID: ${{ secrets.EXPO_APPLE_TEAM_ID }}
EXPO_IOS_DIST_P12_BASE64: ${{ secrets.EXPO_IOS_DIST_P12_BASE64 }}
EXPO_IOS_DIST_P12_PASSWORD: ${{ secrets.EXPO_IOS_DIST_P12_PASSWORD }}
EXPO_IOS_PROVISIONING_PROFILE_BASE64: ${{ secrets.EXPO_IOS_PROVISIONING_PROFILE_BASE64 }}
- name: Upload asset
uses: actions/upload-artifact@v1
with:
name: asset
path: ${{ steps.expo-build.outputs.asset-path }}
- code: MIT