Skip to content

Java 23

Java 23 #154

Workflow file for this run

name: Build
on:
push:
branches:
- gh-actions
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
path: actions
- uses: actions/checkout@v4
with:
ref: main
path: chariot
- name: Download OpenJDK 23
run: |
download_url="https://download.java.net/java/GA/jdk23/3c5b90190c68498b986a97f276efd28a/37/GPL/openjdk-23_linux-x64_bin.tar.gz"
wget -O $RUNNER_TEMP/java_package.tar.gz $download_url
- uses: actions/setup-java@v4
with:
distribution: 'jdkfile'
jdkFile: ${{ runner.temp }}/java_package.tar.gz
java-version: '23'
architecture: x64
- name: Check java version
run: java -Xinternalversion
- name: Copy pom template
run: cp actions/pom.template.xml .
- name: Fetch tags
run: cd chariot && git fetch --tags
- name: Run the build.sh script
run: actions/build.sh
- name: checksum
run: sha256sum bundle/*
- uses: actions/upload-artifact@v4
with:
name: jars
path: bundle/*