From 92d3eb81fe99ff9faa58e338e5e05d69b4382607 Mon Sep 17 00:00:00 2001 From: dags Date: Wed, 4 Mar 2020 14:30:06 +0000 Subject: [PATCH] Add build action --- .github/workflows/build.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..d3e5d07 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,23 @@ +name: Build + +on: [push] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v1 + - name: set up JDK 1.8 + uses: actions/setup-java@v1 + with: + java-version: 1.8 + - name: Build with Gradle + run: | + chmod a+x gradlew + ./gradlew publish + - uses: actions/upload-artifact@master + with: + name: jars + path: TerraForgedMod/build/libs