mirror of
https://github.com/LiveFastEatTrashRaccoon/RaccoonForLemmy.git
synced 2025-02-10 01:10:47 +01:00
* update version catalog * fix compileSdk in all build scripts * update Gradle wrapper * update workflows * update version badge in README.md * update documentation
40 lines
952 B
YAML
40 lines
952 B
YAML
name: build
|
|
|
|
on:
|
|
push:
|
|
branches: [ "master" ]
|
|
pull_request:
|
|
branches: [ "master" ]
|
|
|
|
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 Gradle
|
|
uses: gradle/actions/setup-gradle@v4
|
|
with:
|
|
gradle-version: 8.10.2
|
|
|
|
- name: Decode keystore
|
|
env:
|
|
ENCODED_STRING: ${{ secrets.KEYSTORE_BASE_64 }}
|
|
run: |
|
|
echo $ENCODED_STRING > keystore-b64.txt
|
|
base64 -d keystore-b64.txt > androidApp/keystore.jks
|
|
|
|
- name: Build
|
|
env:
|
|
KEYSTORE_PASSWORD: ${{ secrets.KEYSTORE_PASSWORD }}
|
|
KEYSTORE_ALIAS: ${{ secrets.KEYSTORE_ALIAS }}
|
|
KEY_PASSWORD: ${{ secrets.KEYSTORE_PASSWORD }}
|
|
run: ./gradlew assembleDebug
|