Skip to content

Fix workflow.

Fix workflow. #16

Workflow file for this run

name: Gradle Build
on:
push:
workflow_dispatch:
jobs:
build-gradle-project:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'zulu'
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
- name: Run build with Gradle Wrapper
run: ./gradlew build
- name: Publish build
uses: actions/upload-artifact@v3
with:
name: build
path: |
catsplus-fabric/build/libs/catsplus-fabric-[0-9.]+.jar
retention-days: 90