-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
**Summary** - split the build steps and submit steps. - remove expo/.gitignore for build proces to refer to .env.local correctly. - fix update actions **Test** - N/A **Issue** - N/A
- Loading branch information
Showing
10 changed files
with
221 additions
and
36 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
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,35 @@ | ||
name: EAS - Build Debug | ||
on: | ||
workflow_dispatch: | ||
inputs: | ||
dev: | ||
description: "HPAPP_CONFIG_NAME=dev" | ||
required: false | ||
type: boolean | ||
default: false | ||
beta: | ||
description: "HPAPP_CONFIG_NAME=beta" | ||
required: false | ||
type: boolean | ||
default: false | ||
prod: | ||
description: "HPAPP_CONFIG_NAME=prod" | ||
required: false | ||
type: boolean | ||
default: false | ||
env: | ||
NODE_VERSION: 22.3.0 | ||
EAS_VERSION: 13.4.2 | ||
JAVA_VERSION: 17 | ||
jobs: | ||
test: | ||
if: ${{ github.event.inputs.dev = true }} | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: "read" | ||
id-token: "write" | ||
environment: | ||
name: gcp-go | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- run: echo ${{ github.event.inputs.dev }} |
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
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
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
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,36 @@ | ||
# iOS/Android development | ||
|
||
## Install development build | ||
|
||
### for iOS | ||
|
||
Scan the QR code below or open [iTunes Link](itms-services://?action=download-manifest;url=https://storage.googleapis.com/hpapp.yssk22.dev/hpapp-dev.plist) to install the development build. | ||
|
||
![iOS QR code](https://storage.googleapis.com/hpapp.yssk22.dev/artifacts/QR-hpapp-dev.png) | ||
|
||
### for Android | ||
|
||
Scan the QR code below or open [iTunes Link](itms-services://?action=download-manifest;url=https://storage.googleapis.com/hpapp.yssk22.dev/hpapp-dev.plist) to install the development build. | ||
|
||
![Android QR](https://storage.googleapis.com/hpapp.yssk22.dev/artifacts/QR-hpapp-android-dev.png) | ||
|
||
## Start a development server | ||
|
||
```bash | ||
$ cloud_sql_proxy -instances=${GCP_PROJECT}:asia-northeast1:${GCP_DB}=tcp:3306 | ||
$ cd go | ||
$ go run ./cmd/ --prod httpserver | ||
``` | ||
|
||
## Start a metro bundler | ||
|
||
```bash | ||
$ cd expo | ||
$ yarn install | ||
$ export APP_CHECK_DEBUG_TOKEN=**** | ||
$ export GRAPHQL_ENDPOINT=http://{development_server}:8080 | ||
$ envsubst < ./.env > ./.env.local | ||
$ yarn start | ||
``` | ||
|
||
now you can launch the app on your device and connect to the metro bundler |
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
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 |
---|---|---|
|
@@ -6,4 +6,5 @@ | |
!google-services.json.env | ||
!GoogleService-Info.plist.env | ||
!AppStoreKey.p8.env | ||
!PlayStoreKey.json.env | ||
!.gitignore |
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 @@ | ||
$PLAY_STORE_KEY |
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,52 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
This is a file for iOS devices to install ipa without App Storre. | ||
- Upload this plist file to https://storage.googleapis.com/hpapp.yssk22.dev/artifacts/hpapp-dev.plist | ||
- Upload the dev build (.ipa) to https://storage.googleapis.com/hpapp.yssk22.dev/artifacts/hpapp-dev.ipa | ||
- Upload the icon.png to https://storage.googleapis.com/hpapp.yssk22.dev/artifacts/hpapp-dev.png | ||
- Open `itms-services://?action=download-manifest;url=https://storage.googleapis.com/hpapp.yssk22.dev/artifacts/hpapp-dev.plist` in Safari to download and install. | ||
--> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>items</key> | ||
<array> | ||
<dict> | ||
<key>assets</key> | ||
<array> | ||
<dict> | ||
<key>kind</key> | ||
<string>software-package</string> | ||
<key>url</key> | ||
<string>https://storage.googleapis.com/hpapp.yssk22.dev/artifacts/hpapp-dev.ipa</string> | ||
</dict> | ||
<dict> | ||
<key>kind</key> | ||
<string>display-image</string> | ||
<key>url</key> | ||
<string>https://storage.googleapis.com/hpapp.yssk22.dev/artifacts/hpapp-dev.png</string> | ||
</dict> | ||
<dict> | ||
<key>kind</key> | ||
<string>full-size-image</string> | ||
<key>url</key> | ||
<string>https://storage.googleapis.com/hpapp.yssk22.dev/artifacts/hpapp-dev.png</string> | ||
</dict> | ||
</array> | ||
<key>metadata</key> | ||
<dict> | ||
<key>bundle-identifier</key> | ||
<string>dev.yssk22.hpapp.dev</string> | ||
<key>bundle-version</key> | ||
<string>1.0</string> | ||
<key>kind</key> | ||
<string>software</string> | ||
<key>title</key> | ||
<string>HELLO!FAN (DEV)</string> | ||
</dict> | ||
</dict> | ||
</array> | ||
</dict> | ||
</plist> |