Skip to content

Commit

Permalink
feat: comment out github action configure files
Browse files Browse the repository at this point in the history
  • Loading branch information
soy0ka committed Aug 5, 2024
1 parent a4a5448 commit 800b1f4
Show file tree
Hide file tree
Showing 2 changed files with 118 additions and 118 deletions.
124 changes: 62 additions & 62 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
@@ -1,71 +1,71 @@
name: Expo Android Build Test
# name: Expo Android Build Test

on:
push:
branches:
- 'master'
pull_request:
branches:
- '*'
# on:
# push:
# branches:
# - 'master'
# pull_request:
# branches:
# - '*'

jobs:
build:
runs-on: 'ubuntu-latest'
strategy:
matrix:
node: [18.x]
steps:
- name: πŸ— Setup repo
uses: actions/checkout@v2
# jobs:
# build:
# runs-on: 'ubuntu-latest'
# strategy:
# matrix:
# node: [18.x]
# steps:
# - name: πŸ— Setup repo
# uses: actions/checkout@v2

- name: πŸ— Setup Node
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}
cache: yarn
# - name: πŸ— Setup Node
# uses: actions/setup-node@v2
# with:
# node-version: ${{ matrix.node }}
# cache: yarn

- name: πŸ— Setup Expo and EAS
uses: expo/expo-github-action@v7
with:
token: ${{ secrets.EXPO_TOKEN }}
expo-version: latest
eas-version: latest
# - name: πŸ— Setup Expo and EAS
# uses: expo/expo-github-action@v7
# with:
# token: ${{ secrets.EXPO_TOKEN }}
# expo-version: latest
# eas-version: latest

- name: πŸ“¦ Install dependencies
run: yarn
# - name: πŸ“¦ Install dependencies
# run: yarn

- name: 🩺 Run Expo Doctor
run: npx expo-doctor
continue-on-error: true
# - name: 🩺 Run Expo Doctor
# run: npx expo-doctor
# continue-on-error: true

- name: πŸ“ Generate eas.json
run: |
echo '{
"build": {
"development": {
"distribution": "internal",
"android": {
"buildType": "apk"
},
}
}
}' > eas.json
# - name: πŸ“ Generate eas.json
# run: |
# echo '{
# "build": {
# "development": {
# "distribution": "internal",
# "android": {
# "buildType": "apk"
# },
# }
# }
# }' > eas.json

- name: Setup Java 17
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'
# - name: Setup Java 17
# uses: actions/setup-java@v3
# with:
# distribution: 'temurin'
# java-version: '17'

- name: πŸ‘· Build app
env:
GOOGLE_SERVICES_JSON_BASE64: ${{ secrets.GOOGLE_SERVICES_JSON_BASE64 }}
GOOGLE_SERVICES_PLIST_BASE64: ${{ secrets.GOOGLE_SERVICES_PLIST_BASE64 }}
GOOGLE_SERVICES_JSON: ${{ vars.GOOGLE_SERVICES_JSON }}
GOOGLE_SERVICES_PLIST: ${{ vars.GOOGLE_SERVICES_PLIST }}
run: |
eas build --local \
--non-interactive \
--output=./app-build \
--platform=android \
--profile=development
# - name: πŸ‘· Build app
# env:
# GOOGLE_SERVICES_JSON_BASE64: ${{ secrets.GOOGLE_SERVICES_JSON_BASE64 }}
# GOOGLE_SERVICES_PLIST_BASE64: ${{ secrets.GOOGLE_SERVICES_PLIST_BASE64 }}
# GOOGLE_SERVICES_JSON: ${{ vars.GOOGLE_SERVICES_JSON }}
# GOOGLE_SERVICES_PLIST: ${{ vars.GOOGLE_SERVICES_PLIST }}
# run: |
# eas build --local \
# --non-interactive \
# --output=./app-build \
# --platform=android \
# --profile=development
112 changes: 56 additions & 56 deletions .github/workflows/ios.yml
Original file line number Diff line number Diff line change
@@ -1,65 +1,65 @@
name: Expo IOS Build Test
# name: Expo IOS Build Test

on:
push:
branches:
- 'master'
pull_request:
branches:
- '*'
# on:
# push:
# branches:
# - 'master'
# pull_request:
# branches:
# - '*'

jobs:
build:
runs-on: 'macos-latest'
strategy:
matrix:
node: [18.x]
steps:
- name: πŸ— Setup repo
uses: actions/checkout@v2
# jobs:
# build:
# runs-on: 'macos-latest'
# strategy:
# matrix:
# node: [18.x]
# steps:
# - name: πŸ— Setup repo
# uses: actions/checkout@v2

- name: πŸ— Setup Node
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}
cache: yarn
# - name: πŸ— Setup Node
# uses: actions/setup-node@v2
# with:
# node-version: ${{ matrix.node }}
# cache: yarn

- name: πŸ— Setup Expo and EAS
uses: expo/expo-github-action@v7
with:
token: ${{ secrets.EXPO_TOKEN }}
expo-version: latest
eas-version: latest
# - name: πŸ— Setup Expo and EAS
# uses: expo/expo-github-action@v7
# with:
# token: ${{ secrets.EXPO_TOKEN }}
# expo-version: latest
# eas-version: latest

- name: πŸ“¦ Install dependencies
run: yarn
# - name: πŸ“¦ Install dependencies
# run: yarn

- name: 🩺 Run Expo Doctor
run: npx expo-doctor
continue-on-error: true
# - name: 🩺 Run Expo Doctor
# run: npx expo-doctor
# continue-on-error: true

- name: πŸ“ Generate eas.json
run: |
echo '{
"build": {
"development": {
"distribution": "internal",
}
}
}' > eas.json
# - name: πŸ“ Generate eas.json
# run: |
# echo '{
# "build": {
# "development": {
# "distribution": "internal",
# }
# }
# }' > eas.json

- name: πŸ“ Generate Google Service file
run: ./prepare-google-services.sh
# - name: πŸ“ Generate Google Service file
# run: ./prepare-google-services.sh

- name: πŸ‘· Build app
env:
GOOGLE_SERVICES_JSON_BASE64: ${{ secrets.GOOGLE_SERVICES_JSON_BASE64 }}
GOOGLE_SERVICES_PLIST_BASE64: ${{ secrets.GOOGLE_SERVICES_PLIST_BASE64 }}
GOOGLE_SERVICES_JSON: ${{ vars.GOOGLE_SERVICES_JSON }}
GOOGLE_SERVICES_PLIST: ${{ vars.GOOGLE_SERVICES_PLIST }}
run: |
eas build --local \
--non-interactive \
--output=./app-build \
--platform=ios \
--profile=development
# - name: πŸ‘· Build app
# env:
# GOOGLE_SERVICES_JSON_BASE64: ${{ secrets.GOOGLE_SERVICES_JSON_BASE64 }}
# GOOGLE_SERVICES_PLIST_BASE64: ${{ secrets.GOOGLE_SERVICES_PLIST_BASE64 }}
# GOOGLE_SERVICES_JSON: ${{ vars.GOOGLE_SERVICES_JSON }}
# GOOGLE_SERVICES_PLIST: ${{ vars.GOOGLE_SERVICES_PLIST }}
# run: |
# eas build --local \
# --non-interactive \
# --output=./app-build \
# --platform=ios \
# --profile=development

0 comments on commit 800b1f4

Please sign in to comment.