Skip to content

chore: merge branch dev into main #8

chore: merge branch dev into main

chore: merge branch dev into main #8

Workflow file for this run

name: Release
on:
push:
tags:
- "v**"
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: zulu
java-version: 17
cache: gradle
- name: Build with Gradle
run: ./gradlew assembleRelease
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Sign APK
id: sign_apk
uses: ilharp/sign-android-release@v1
with:
releaseDir: ./app/build/outputs/apk/release/
signingKey: ${{ secrets.KEYSTORE_BASE64 }}
keyAlias: ${{ secrets.KEYSTORE_ALIAS }}
keyStorePassword: ${{ secrets.KEYSTORE_PASSWORD }}
keyPassword: ${{ secrets.KEY_PASSWORD }}
- name: Rename signed APK
run: mv ${{steps.sign_apk.outputs.signedFile}} pftool.apk
- name: Create release
uses: marvinpinto/[email protected]
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
draft: false
prerelease: false
files: |
pftool.apk