Skip to content

workflow updates

workflow updates #18

Workflow file for this run

name: Checks
on:
push:
branches: ["**"]
permissions:
contents: read
packages: read
jobs:
ci:
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
strategy:
matrix:
java-version: [24]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up JDK ${{ matrix.java-version }}
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java-version }}
distribution: "temurin"
cache: "maven"
server-id: github
server-username: GITHUB_ACTOR
server-password: GITHUB_TOKEN
- name: Build with Maven
run: mvn clean compile
- name: Run
run: mvn exec:java -Dexec.mainClass="com.example.App"