Bye Discombobulator! #28
Workflow file for this run
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: Compile LoTAS | |
on: | |
push: | |
branches: [ "dev-3.0.0", "workflow"] | |
jobs: | |
fabric: | |
permissions: write-all | |
runs-on: ubuntu-latest | |
if: github.repository == 'MinecraftTAS/LoTAS' | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v3 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '17' | |
distribution: 'corretto' | |
cache: gradle | |
- name: Build with Gradle | |
uses: gradle/gradle-build-action@v2 | |
with: | |
arguments: remapJar --no-daemon | |
gradle-version: 8.4 | |
cache-disabled: true | |
- name: Upload Build Artifact | |
uses: actions/upload-artifact@v3 | |
with: | |
name: LoTAS | |
path: build/libs/*.jar | |
- name: Upload to discord | |
uses: sinshutu/upload-to-discord@master | |
env: | |
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }} | |
with: | |
args: build/libs/*.jar |