Skip to content

update workflow

update workflow #12

Workflow file for this run

name: Build
env:
JAVA_OPTS: "-Xms512m -Xmx6048m -Xss128m -XX:ReservedCodeCacheSize=512m -server -XX:+UseG1GC"
GRADLE_OPTS: "-Xms512m -Xmx6048m -Xss128m -XX:ReservedCodeCacheSize=512m -server -XX:+UseG1GC"
TERM: xterm-256color
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
JDK_CURRENT: 11
##########################################################################
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
##########################################################################
jobs:
build:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
java-version: ${{ env.JDK_CURRENT }}
distribution: 'temurin'
- name: Build
run: ./gradlew clean build
- name: Upload client build artifact
uses: actions/upload-artifact@v4
with:
name: bootiful-cas-client
path: build/libs/bootiful-cas-client.jar