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 jobs: build: runs-on: ubuntu-24.04 steps: - name: Configure proxies run: | git config --global http.proxy "$HTTP_PROXY" git config --global https.proxy "$HTTPS_PROXY" - 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 env: ORG_GRADLE_PROJECT_SPRING_DEBUG: ${{ fromJSON(steps.pr-env.outputs.result).SPRING_DEBUG }}