-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9552ff6
commit ffbd0f3
Showing
1 changed file
with
14 additions
and
9 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 |
---|---|---|
|
@@ -7,9 +7,9 @@ on: | |
# branches: | ||
# - main | ||
|
||
pull_request: | ||
push: | ||
branches: | ||
- main | ||
- improveSearchResults | ||
|
||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
@@ -22,26 +22,27 @@ jobs: | |
steps: | ||
|
||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
uses: actions/checkout@v1 | ||
- uses: actions/setup-node@master | ||
with: | ||
node-version: '16.14.0' | ||
node-version: '21.2.0' | ||
# node-version: '14.16.0' | ||
# - uses: c-hive/gha-yarn-cache@v1 | ||
|
||
|
||
- name: Cache (NDK) | ||
uses: actions/cache@v2 | ||
uses: actions/cache@v1 | ||
with: | ||
path: ${ANDROID_HOME}/ndk/21.0.6113669 | ||
key: ndk-cache | ||
|
||
- name: Install NDK | ||
run: echo "y" | sudo ${ANDROID_HOME}/tools/bin/sdkmanager --install 'ndk;21.0.6113669' | ||
#- name: Install NDK | ||
# run: echo "y" | sudo ${ANDROID_HOME}/tools/bin/sdkmanager --install 'ndk;21.0.6113669' | ||
|
||
- name: Install node modules | ||
run: | | ||
npm install --legacy-deps=true | ||
npm install | ||
# --legacy-deps=true | ||
|
||
- name: Lint | ||
uses: Krizzu/[email protected] | ||
|
@@ -103,8 +104,12 @@ jobs: | |
run: cd android && chmod +x ./gradlew | ||
|
||
- name: build prod | ||
run: cd android && ./gradlew clean && ./gradlew assembleprodstagingRelease --no-daemon | ||
run: cd android && ./gradlew clean && ./gradlew assembleprodstagingRelease --no-daemon && ./gradlew wrapper && --gradle-version 8.0.1 --warning-mode all | ||
|
||
#run: cd android && ./gradlew clean && ./gradlew wrapper && --gradle-version 8.0.1 && ./gradlew assembleprodstagingRelease --no-daemon | ||
# run: cd android && ./gradlew clean && ./gradlew assembleprodstagingRelease --no-daemon | ||
|
||
|
||
- name: Upload Artifact | ||
uses: actions/upload-artifact@v1 | ||
with: | ||
|