Skip to content

Add PRIVACY_POLICY.md #9

Add PRIVACY_POLICY.md

Add PRIVACY_POLICY.md #9

Workflow file for this run

name: release
on:
push:
tags:
- '*.*.*'
- '!*.*.*-beta*'
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout project
uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
- name: Setup Android SDK
uses: android-actions/setup-android@v3
- name: Decode keystore and local.properties
env:
KEYSTORE_BASE_64: ${{ secrets.KEYSTORE_BASE_64 }}
PROPERTIES_BASE_64: ${{ secrets.PROPERTIES_BASE_64 }}
run: |
echo $KEYSTORE_BASE_64 > base64.txt
base64 -d base64.txt > app/keystore.jks
echo $PROPERTIES_BASE_64 > base64.txt
base64 -d base64.txt >> local.properties
- name: Build release APK
run: ./gradlew assembleRelease --stacktrace
- name: Upload release build to artifacts
uses: actions/upload-artifact@v4
with:
name: release-artifacts
path: |
app/build/outputs/apk/release/*.apk
- name: Create changelog text
id: changelog
uses: loopwerk/tag-changelog@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
exclude_types: other,doc,chore
- name: Create Github release
uses: softprops/action-gh-release@v2
with:
tag_name: ${{ github.ref }}
name: Release ${{ github.ref }}
body: ${{ steps.changelog.outputs.changes }}
token: ${{ secrets.GITHUB_TOKEN }}
make_latest: true
files: |
app/build/outputs/apk/release/*.apk