Bump elliptic from 6.5.7 to 6.6.0 #399
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
name: android-build-self | |
on: | |
push: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
install-and-test: | |
runs-on: ssp-key-android | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: 'zulu' | |
java-version: '17' | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
cache: "yarn" | |
- name: Install npm dependencies | |
run: | | |
yarn | |
build-android: | |
needs: install-and-test | |
runs-on: ssp-key-android | |
steps: | |
- name: Decode Keystore | |
id: decode_keystore | |
uses: timheuer/base64-to-file@v1 | |
with: | |
fileName: "release.keystore" | |
fileDir: "/home/user/actions-runner/_work/ssp-key/ssp-key/android/app/" | |
encodedString: ${{ secrets.ANDROID_SIGNING_KEY }} | |
- name: Build Android APK Release | |
run: | | |
cd android && ./gradlew assembleRelease | |
env: | |
SIGNING_KEY_ALIAS: ${{ secrets.ANDROID_ALIAS }} | |
SIGNING_KEY_PASSWORD: ${{ secrets.ANDROID_KEY_PASSWORD }} | |
SIGNING_STORE_PASSWORD: ${{ secrets.ANDROID_KEY_STORE_PASSWORD }} | |
- name: Build Android ABB Release | |
run: | | |
cd android && ./gradlew bundleRelease | |
env: | |
SIGNING_KEY_ALIAS: ${{ secrets.ANDROID_ALIAS }} | |
SIGNING_KEY_PASSWORD: ${{ secrets.ANDROID_KEY_PASSWORD }} | |
SIGNING_STORE_PASSWORD: ${{ secrets.ANDROID_KEY_STORE_PASSWORD }} | |
- name: Upload APK Artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: app-release.apk | |
path: android/app/build/outputs/apk/release/app-release.apk | |
- name: Upload AAB Artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: app-release.aab | |
path: android/app/build/outputs/bundle/release/app-release.aab |