Skip to content

doc: add 1.20.4

doc: add 1.20.4 #302

Workflow file for this run

name: build
on: [
pull_request,
push,
workflow_call
]
jobs:
build:
strategy:
matrix:
java: [ 17, 21 ]
os: [
ubuntu-latest,
windows-latest
]
runs-on: ${{ matrix.os }}
steps:
- name: checkout repository
uses: actions/[email protected]
- name: validate gradle wrapper
uses: gradle/[email protected]
- name: setup jdk ${{ matrix.java }}
uses: actions/[email protected]
with:
java-version: ${{ matrix.java }}
distribution: 'adopt'
java-package: jdk
- name: make gradle wrapper executable
if: ${{ runner.os != 'Windows' }}
run: chmod +x ./gradlew
- name: build
run: ./gradlew build
- name: collect artifacts to out folder
run: |
mkdir out
bash ./.github/scripts/build_output.sh
- name: capture build artifacts
if: ${{ runner.os == 'Linux' && matrix.java == '17' }}
uses: actions/[email protected]
with:
name: artifacts
path: out/