From 6e5450be0325b668adfbbac4e613efac66de8a49 Mon Sep 17 00:00:00 2001 From: Tofpu Date: Sat, 7 Oct 2023 21:13:18 +0300 Subject: [PATCH] Automatically build binaries on `push` --- .github/workflows/commit-build.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/commit-build.yml diff --git a/.github/workflows/commit-build.yml b/.github/workflows/commit-build.yml new file mode 100644 index 00000000..c0b040e5 --- /dev/null +++ b/.github/workflows/commit-build.yml @@ -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 \ No newline at end of file