Skip to content

Commit

Permalink
start a CI build of the Android APK
Browse files Browse the repository at this point in the history
  • Loading branch information
eyedeekay committed Mar 25, 2024
1 parent 45865ff commit f2cfe4c
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/ant.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Mostly copied from https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-ant
# zlatinb

name: Java CI

on: [push]

permissions:
contents: read
pages: write
id-token: write

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: GetText
run: sudo apt install gettext
- uses: actions/checkout@v4
- name: Set up JDK 8
uses: actions/setup-java@v4
with:
java-version: '8'
distribution: 'temurin'
- name : Generate override.properties
run: |
rm -f override.properties
echo "build.built-by=GitHub Actions" >> override.properties
echo "noExe=true" >> override.properties
- name: build with Gradle
run: |
./gradlew assembleDebug
find . -name '*.apk'
#- name: Upload installer.jar
# uses: actions/upload-artifact@v4
# with:
# name: I2P-install.jar-${{ github.sha }}
# path: install.jar

0 comments on commit f2cfe4c

Please sign in to comment.