Skip to content

Commit

Permalink
Set up actions
Browse files Browse the repository at this point in the history
Mod will now automatically compile whenever a push is made
  • Loading branch information
SpoonySimone authored Feb 16, 2024
1 parent 98fefb8 commit d55508d
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: 17
distribution: 'adopt'
cache: gradle

- name: Change wrapper permissions
run: chmod +x ./gradlew

- name: Init gradle wrapper
run: ./gradlew wrapper --gradle-version=7.3.3

- name: Change wrapper permissions
run: chmod +x ./gradlew

- name: Build with Gradle wrapper
run: ./gradlew build

- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: AutoGG+
path: /home/runner/work/AutoGGPlus/AutoGGPlus/versions/1.8.9/build/libs

0 comments on commit d55508d

Please sign in to comment.