diff options
Diffstat (limited to '.gitea')
-rw-r--r-- | .gitea/workflows/build.yml | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml new file mode 100644 index 0000000..13c5e87 --- /dev/null +++ b/.gitea/workflows/build.yml @@ -0,0 +1,26 @@ +# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json + +name: build + +on: + push: + branches: + - "master" + +env: + ANDROID_HOME: /opt/toolcache/android-sdk + FDROID_JKS: /opt/toolcache/android-jks/fdroid.jks + GRADLE_USER_HOME: /opt/toolcache/gradle + +jobs: + build: + runs-on: alpine-3.16 + steps: + - uses: actions/checkout@v3 + - run: chmod 0755 ./gradlew + - run: ./gradlew --no-daemon tasks + - run: ./gradlew --no-daemon assemble + -PFDROID_STORE_FILE=$FDROID_JKS + -PFDROID_STORE_PASSWORD=$FDROID_STORE_PASSWORD + -PFDROID_KEY_ALIAS=fdroid + -PFDROID_KEY_PASSWORD=$FDROID_KEY_PASSWORD |