Skip to content

SmartAutoClicker-2.4.2 #60

SmartAutoClicker-2.4.2

SmartAutoClicker-2.4.2 #60

Workflow file for this run

name: Release
on:
workflow_dispatch:
release:
types: [created]
jobs:
build:
name: Build application
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: set up JDK 17
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: '17'
- name: Restore keystore
run: |
echo "${{ secrets.RELEASE_KEYSTORE }}" > smartautoclicker.jks.asc
gpg -d --passphrase "${{ secrets.RELEASE_KEYSTORE_PASSPHRASE }}" --batch smartautoclicker.jks.asc > smartautoclicker/smartautoclicker.jks
- name: Build with Gradle
run: ./gradlew -PsigningStorePassword="${{ secrets.SIGNING_STORE_PASSWORD }}" -PsigningKeyAlias="${{ secrets.SIGNING_KEY_ALIAS }}" -PsigningKeyPassword="${{ secrets.SIGNING_KEY_PASSWORD }}" assembleFDroidRelease bundleFDroidRelease
- name: Upload APK
uses: actions/upload-artifact@v3
with:
name: smartautoclicker-release
path: smartautoclicker/build/outputs/