Merge pull request #2 from CuteNekoOwO/dev/1.20.4 #17
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |