Skip to content

Print various versions #795

Print various versions

Print various versions #795

Workflow file for this run

name: Continuous Integration
on:
push:
branches: [ main ]
pull_request:
branches: [ '*' ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: 'Check out repository'
uses: actions/checkout@v4
with:
submodules: recursive
- name: 'List all -info.java files'
run: find | grep \\-info.java | sort
- name: 'Set up Java'
uses: oracle-actions/setup-java@v1
with:
website: jdk.java.net
release: 22
- name: 'Print various versions'
run: |
java @.bach/run jar --version
java @.bach/run jfr --version
java @.bach/run https://raw.githubusercontent.com/openjdk/jdk/jdk-22-ga/test/jdk/java/lang/System/Versions.java
java .bach/src/run.bach/run/Versions.java
- name: 'Build Bach with Bach'
run: java .bach/src/run.bach/run/Build.java