Skip to content

Fix key 11 is missing exception warning #198

Fix key 11 is missing exception warning

Fix key 11 is missing exception warning #198

name: build-action
on:
push:
tags:
- '*'
branches-ignore:
- 'gh-pages'
pull_request:
tags:
- '*'
branches-ignore:
- 'gh-pages'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup gradle
uses: gradle/gradle-build-action@v2
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 17
- name: Cache SonarQube packages
uses: actions/cache@v4
with:
path: ~/.sonar/cache
key: ${{ runner.os }}-sonar
restore-keys: ${{ runner.os }}-sonar
- name: Cache Gradle packages
uses: actions/cache@v4
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
restore-keys: ${{ runner.os }}-gradle
- name: Gradle build
env:
KYNETICS_KEYSTORE_PASS: ${{ secrets.KYNETICS_KEYSTORE_PASS }}
KYNETICS_KEY_PASS: ${{ secrets.KYNETICS_KEY_PASS }}
KYNETICS_KEY_ALIAS: ${{ secrets.KYNETICS_KEY_ALIAS }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
run: ./gradlew build sonar --info
- name: Create release
uses: xresloader/upload-to-github-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
file: "uf-client-*/build/outputs/apk/*_key/*.apk"
tags: true
draft: false