Skip to content

add mode1024;

add mode1024; #25

Workflow file for this run

name: build android
on:
push: {tags: ['v*']} # Push events to matching v*, i.e. v1.0, v20.15.10
pull_request:
permissions:
contents: write
jobs:
build_android:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'temurin'
cache: gradle
- name: build onsyuri_android
env:
SIGN_KEY_ALIAS: ${{ secrets.SIGN_KEY_ALIAS }}
SIGN_KEY_PASS: ${{ secrets.SIGN_KEY_PASS }}
SIGN_STORE_PASS: ${{ secrets.SIGN_STORE_PASS }}
run: cd script && bash ./cross_android.sh
- name: prepare to release
if: github.event_name == 'push'
run: cp ./build_android/outputs/apk/release/*.apk onsyuri_${{ github.ref_name }}_android.apk
- name: create release
uses: ncipollo/release-action@v1
if: github.event_name == 'push'
with:
artifacts: "onsyuri_${{ github.ref_name }}_android.apk"
allowUpdates: "true"
token: ${{ secrets.GITHUB_TOKEN }}