-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
try again try again try again try again add same for android maybe now omg wow i messed that up? once again once again again error? add caching add caching try again again again again try again again again try again again try again try this a different way another test testing this again
- Loading branch information
Showing
4 changed files
with
131 additions
and
46 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
--- | ||
name: Build and Submit Android | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
profile: | ||
type: choice | ||
description: Build profile to use | ||
options: | ||
- production | ||
|
||
jobs: | ||
build: | ||
name: Build and Submit Android | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check for EXPO_TOKEN | ||
run: > | ||
if [ -z "${{ secrets.EXPO_TOKEN }}" ]; then | ||
echo "You must provide an EXPO_TOKEN secret linked to this project's Expo account in this repo's secrets. Learn more: https://docs.expo.dev/eas-update/github-actions" | ||
exit 1 | ||
fi | ||
- name: ⬇️ Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: 🔧 Setup Node | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18.x | ||
cache: yarn | ||
|
||
- name: 🔨 Setup EAS | ||
uses: expo/expo-github-action@v8 | ||
with: | ||
expo-version: latest | ||
eas-version: latest | ||
token: ${{ secrets.EXPO_TOKEN }} | ||
|
||
- name: ⛏️ Setup EAS local builds | ||
run: yarn global add eas-cli-local-build-plugin | ||
|
||
- uses: actions/setup-java@v4 | ||
with: | ||
distribution: 'temurin' | ||
java-version: '17' | ||
|
||
- name: 📁 Copy google-services.json | ||
run: cp google-services.json.example google-services.json | ||
|
||
- name: ⚙️ Install dependencies | ||
run: yarn install | ||
|
||
- name: 🏗️ EAS Build | ||
run: yarn use-build-number eas build -p android --profile production --local --output build.aab --non-interactive | ||
|
||
- name: 🚀 Deploy | ||
run: eas submit -p android --non-interactive --path build.aab |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
--- | ||
name: Build and Submit iOS | ||
|
||
on: | ||
schedule: | ||
- cron: '0 5 * * *' | ||
workflow_dispatch: | ||
inputs: | ||
profile: | ||
type: choice | ||
description: Build profile to use | ||
options: | ||
- production | ||
|
||
jobs: | ||
build: | ||
name: Build and Submit iOS | ||
runs-on: macos-14 | ||
steps: | ||
- name: Check for EXPO_TOKEN | ||
run: > | ||
if [ -z "${{ secrets.EXPO_TOKEN }}" ]; then | ||
echo "You must provide an EXPO_TOKEN secret linked to this project's Expo account in this repo's secrets. Learn more: https://docs.expo.dev/eas-update/github-actions" | ||
exit 1 | ||
fi | ||
- name: ⬇️ Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: 🔧 Setup Node | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18.x | ||
cache: yarn | ||
|
||
- name: 🔨 Setup EAS | ||
uses: expo/expo-github-action@v8 | ||
with: | ||
expo-version: latest | ||
eas-version: latest | ||
token: ${{ secrets.EXPO_TOKEN }} | ||
|
||
- name: ⛏️ Setup EAS local builds | ||
run: yarn global add eas-cli-local-build-plugin | ||
|
||
- name: ⚙️ Install dependencies | ||
run: yarn install | ||
|
||
- name: ☕️ Setup Cocoapods | ||
uses: maxim-lobanov/setup-cocoapods@v1 | ||
with: | ||
version: 1.14.3 | ||
|
||
- name: 💾 Cache Pods | ||
uses: actions/cache@v3 | ||
id: pods-cache | ||
with: | ||
path: ./ios/Pods | ||
# We'll use the yarn.lock for our hash since we don't yet have a Podfile.lock. Pod versions will not | ||
# change unless the yarn version changes as well. | ||
key: ${{ runner.os }}-pods-${{ hashFiles('yarn.lock') }} | ||
|
||
- name: 🏗️ EAS Build | ||
run: yarn use-build-number eas build -p ios --profile production --local --output build.ipa --non-interactive | ||
|
||
- name: 🚀 Deploy | ||
run: eas submit -p ios --non-interactive --path build.ipa |
This file was deleted.
Oops, something went wrong.
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
8465cca
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😄