Skip to content

Commit

Permalink
Possible start of shifting to Github Actions
Browse files Browse the repository at this point in the history
I have absolutely no idea if this is gonna work first try, but hey, it's a start and if it don't work, I'll blow it up and start again.
  • Loading branch information
ZombieHDGaming authored Apr 3, 2020
1 parent 00524b4 commit 1a173a8
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# 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: Build Mod

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew build
- name: Upload to Release
uses: JasonEtco/[email protected]
with:
args: justenoughids-*.jar
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 1a173a8

Please sign in to comment.