Skip to content

Use a better workflow name #2

Use a better workflow name

Use a better workflow name #2

name: Java CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
java-package: jdk+fx
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Cache Gradle packages
uses: actions/cache@v1
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
restore-keys: ${{ runner.os }}-gradle
- name: <>-- Test --<>
run: ./gradlew test
- name: <>-- Build --<>
run: ./gradlew build createAllExecutables
- uses: actions/upload-artifact@v4
with:
name: Executables
path: build/launch4j