Skip to content

Never πŸ‘ change πŸ‘ a πŸ‘ running πŸ‘ system #34

Never πŸ‘ change πŸ‘ a πŸ‘ running πŸ‘ system

Never πŸ‘ change πŸ‘ a πŸ‘ running πŸ‘ system #34

Workflow file for this run

# This workflow will build a Java project with Gradle
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle
name: Java CI with Gradle
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 8 for x64
uses: actions/setup-java@v2
with:
java-version: '8'
distribution: 'adopt'
architecture: x64
- name: Prepare folders
run: mkdir -p gradle/wrapper
- name: Download gradle properties
run: wget -P gradle/wrapper https://data.mgnet.work/tasmod/gradle-wrapper.properties
- name: Obtain gradle
run: wget -P gradle/wrapper https://data.mgnet.work/tasmod/gradle-wrapper.jar
- name: Build TASmod with Gradle
run: java -cp gradle/wrapper/gradle-wrapper.jar org.gradle.wrapper.GradleWrapperMain shadowJar --no-daemon
- run: find . -type f ! -name "*forge.jar" -delete
- uses: actions/upload-artifact@v2
with:
name: TASmod-Dev-Build
path: build/libs