Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update Github iOS/Android Actions #371

Merged
merged 2 commits into from
Jul 15, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Android Build
on:
on:
push:
paths-ignore:
- 'ios/**'
Expand All @@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest
name: Android
env:
SDK_VERSION: 9.3.2.GA
SDK_VERSION: 11.0.0.GA
steps:
- uses: actions/checkout@v2

Expand All @@ -24,10 +24,10 @@ jobs:
PACKAGE_VERSION=$(sed -n 's/^ *"version": *"//p' package.json | tr -d '"' | tr -d ',' | tr -d '[[:space:]]')
echo "packageVersion=${PACKAGE_VERSION}" >> $GITHUB_ENV

- name: Use Node.js 12.x
uses: actions/setup-node@v1
- name: Use Node.js 14.x
uses: actions/setup-node@v2
with:
node-version: '12.x'
node-version: '14.x'

- name: Cache Gradle packages
uses: actions/cache@v2
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/ios.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: iOS Build
on:
on:
push:
paths-ignore:
- 'android/**'
Expand All @@ -9,13 +9,13 @@ on:
- 'android/**'
- 'apidoc/**'
workflow_dispatch:

jobs:
ios:
runs-on: macos-latest
name: iOS
env:
SDK_VERSION: 9.3.2.GA
SDK_VERSION: 11.0.0.GA
steps:
- uses: actions/checkout@v2

Expand All @@ -28,10 +28,10 @@ jobs:
working-directory: ./iphone
run: xcodebuild -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 12' -scheme hyperloop -target Tests -configuration Debug GCC_PREPROCESSOR_DEFINITIONS='USE_JSCORE_FRAMEWORK=1' test | xcpretty -r junit

- name: Use Node.js 12.x
uses: actions/setup-node@v1
- name: Use Node.js 14.x
uses: actions/setup-node@v2
with:
node-version: '12.x'
node-version: '14.x'

- name: Package metabase
working-directory: ./packages/hyperloop-ios-metabase
Expand Down