Skip to content

Bump androidx.navigation:navigation-safe-args-gradle-plugin from 2.7.3 to 2.7.4 #244

Bump androidx.navigation:navigation-safe-args-gradle-plugin from 2.7.3 to 2.7.4

Bump androidx.navigation:navigation-safe-args-gradle-plugin from 2.7.3 to 2.7.4 #244

Workflow file for this run

name: Android CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Pull & update submodules recursively
run: |
git submodule update --init --recursive
git submodule update --recursive --remote
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '>=1.21.0'
- name: clone
run: |
cd yuhaiin/code/internal/http
git clone --depth=1 https://github.com/yuhaiin/yuhaiin.github.io.git out
rm -rf out/.git out/.nojekyll
go run -v compress.go
echo ${PWD}
ls
- name: download rule
run: |
cd yuhaiin/code/internal/statics
curl https://raw.githubusercontent.com/yuhaiin/yuhaiin/ACL/yuhaiin/yuhaiin.conf -o bypass.conf
go run generate.go
echo ${PWD}
ls
- name: set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
cache: gradle
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: init gomobile
run: |
go install golang.org/x/mobile/cmd/gomobile@latest
gomobile init
- name: build yuhaiin aar
run: sh yuhaiin/build.sh
- name: Build with Gradle
run: |
export KEYSTORE_PATH=${PWD}/release.keystore
export KEY_ALIAS=${{ secrets.KEY_ALIAS }}
export KEYSTORE_PASSWORD=${{ secrets.KEYSTORE_PASSWORD }}
export KEY_PASSWORD=${{ secrets.KEY_PASSWORD }}
echo ${KEYSTORE_PATH}
echo ${{ secrets.KEYSTORE_BASE64 }} | base64 -d > ${KEYSTORE_PATH}
./gradlew app:assembleRelease --stacktrace
- name: upload_arm64-v8a
uses: actions/upload-artifact@v3
with:
name: app-arm64-v8a-release
path: app/build/outputs/apk/release/app-arm64-v8a-release.apk
- name: upload_x86_64
uses: actions/upload-artifact@v3
with:
name: app-x86_64-release
path: app/build/outputs/apk/release/app-x86_64-release.apk
- name: metadata.json
uses: actions/upload-artifact@v3
with:
name: metadata.json
path: app/build/outputs/apk/release/output-metadata.json