Skip to content

Commit

Permalink
Automatically build binaries on push
Browse files Browse the repository at this point in the history
  • Loading branch information
Tofpu committed Oct 7, 2023
1 parent ced479d commit 6e5450b
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/commit-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# This workflow will build a Java project with Maven
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven

name: Auto Commit Build

on:
push

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v2
with:
java-version: '8'
distribution: 'adopt'

- name: Build with Gradle
uses: gradle/gradle-build-action@v2
with:
arguments: shadowJar

- name: Uploading
uses: actions/upload-artifact@v2
with:
name: speedbridge2-v2
path: ${{ github.workspace }}/platform/bukkit/build/libs/*.jar

0 comments on commit 6e5450b

Please sign in to comment.