home-cert-assistant/.forgejo/workflows/build.yml

30 lines
838 B
YAML

name: Build
on:
pull_request:
branches:
- main
concurrency:
cancel-in-progress: true
group: ${{ github.workflow }}-${{ github.ref }}
env:
HTTP_PROXY: http://6.fsn1-1.forsaken-ashbirds.net:8888
HTTPS_PROXY: http://6.fsn1-1.forsaken-ashbirds.net:8888
GRADLE_OPTS: -Dhttp.proxyHost=6.fsn1-1.forsaken-ashbirds.net -Dhttp.proxyPort=8888 -Dhttps.proxyHost=6.fsn1-1.forsaken-ashbirds.net -Dhttps.proxyPort=8888
jobs:
build:
runs-on: ubuntu-24.04
steps:
- uses: https://code.forgejo.org/actions/checkout@v4
with:
fetch-depth: 0
- uses: https://github.com/actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 21
- uses: https://github.com/gradle/actions/setup-gradle@v4
- name: Build gradle project
run: ./gradlew build