1.20.1 #126
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: Java with Gradle | |
on: | |
push: | |
branches: [master] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
- name: Set up JDK 17 | |
uses: actions/[email protected] | |
with: | |
java-version: 17 | |
- name: Give permissions to Gradle | |
run: chmod +x ./gradlew | |
- name: Build | |
uses: gradle/gradle-build-action@v2 | |
with: | |
arguments: build jar | |
- name: Upload a Forge Artifacts | |
uses: actions/[email protected] | |
with: | |
name: PacketFixerForge | |
path: forge/build/libs/**.jar | |
- name: Upload a Fabric Artifacts | |
uses: actions/[email protected] | |
with: | |
name: PacketFixerFabric | |
path: fabric/build/libs/**.jar |