Skip to content
This repository has been archived by the owner on Aug 28, 2024. It is now read-only.

FX'd FX textures

FX'd FX textures #127

Workflow file for this run

# Automatically build the project and run any configured tests for every push
# and submitted pull request. This can help catch issues that only occur on
# certain platforms or Java versions, and provides a first line of defence
# against bad commits.
name: build
on: [push, workflow_dispatch]
jobs:
build:
strategy:
matrix:
# Use these Java versions
java1: [17]
java2: [8]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- name: checkout repository
uses: actions/checkout@v3
with:
submodules: recursive
- name: validate gradle wrapper
uses: gradle/wrapper-validation-action@v1
- name: setup jdk ${{ matrix.java1 }}
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: ${{ matrix.java1 }}
- name: setup jdk ${{ matrix.java2 }}
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: ${{ matrix.java2 }}
- name: make gradle wrapper executable
run: chmod +x ./gradlew
- name: build
run: TOOLKIT_JAVA17=$(echo /opt/hostedtoolcache/Java_Zulu_jdk/17.*/x64) ./gradlew -Dorg.gradle.java.home=$(echo /opt/hostedtoolcache/Java_Zulu_jdk/8.*/x64)
- name: purge artifacts
uses: c-hive/gha-remove-artifacts@v1
with:
age: 0
- name: capture client
uses: actions/upload-artifact@v3
with:
name: RosepadClient
path: build/RosepadClient.jar
- name: capture server
uses: actions/upload-artifact@v3
with:
name: RosepadServer
path: build/RosepadServer.jar