Update to 1.20.1 #29
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
# Uploads build artifacts. | |
name: Upload Artifacts | |
on: | |
push: | |
workflow_dispatch: | |
jobs: | |
uploadArtifacts: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v2 | |
- name: Validate Gradle Wrapper | |
uses: gradle/wrapper-validation-action@v1.0.4 | |
- name: Gradle Cache | |
uses: burrunan/gradle-cache-action@v1 | |
- name: Setup JDK 17 | |
uses: actions/setup-java@v3.4.1 | |
with: | |
java-version: 17 | |
distribution: 'temurin' | |
- name: Build Mod | |
run: ./gradlew clean build | |
- name: Upload Artifact | |
uses: actions/upload-artifact@v1 | |
with: | |
name: Artifacts | |
path: build/libs |