Update github actions [AP-3937] #1148
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Java | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- master | |
- staging | |
tags: | |
- "*" | |
pull_request: | |
paths: | |
- "java/**" | |
- .github/workflows/java.yaml | |
jobs: | |
tests-java-1_8: | |
name: Test | |
runs-on: ubuntu-24.04 | |
container: ubuntu:20.04 | |
steps: | |
- uses: actions/checkout@v5 | |
- uses: actions/[email protected] | |
with: | |
java-version: "11" | |
distribution: "temurin" | |
- name: Update apt and install unzip | |
run: | | |
apt-get update | |
apt-get install -y unzip make | |
shell: bash | |
- uses: gradle/gradle-build-action@v3 | |
with: | |
gradle-version: 7.1.1 | |
- name: Run tests | |
run: make test-java |