Skip to content

Update Github workflow #8

Update Github workflow

Update Github workflow #8

Workflow file for this run

name: Java CI
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
distribution: [ 'zulu' ]
java: [ '21' ]
steps:
- uses: actions/checkout@v4
- name: Use JDK ${{ matrix.java }}
uses: actions/setup-java@v4
with:
cache: 'gradle'
distribution: ${{ matrix.distribution }}
java-version: ${{ matrix.java }}
- name: Build with Gradle
run: ./gradlew build
env:
GH_PACKAGES_READ_TOKEN: ${{ secrets.GH_PACKAGES_READ_TOKEN }}
GH_PACKAGES_USER: ${{ secrets.GH_PACKAGEs_USER }}