From c4f2a7d38a808b9a95d51fa5f12e59c42880741d Mon Sep 17 00:00:00 2001 From: Rhys <98863820+rhysdh540@users.noreply.github.com> Date: Wed, 4 Sep 2024 21:00:10 -0400 Subject: [PATCH] add workflow cause for some reason it wasnt there --- .github/workflows/build.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 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..bf6ae81 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,32 @@ +name: build +on: [ workflow_dispatch, push, pull_request ] + +jobs: + build: + if: "!contains(github.event.head_commit.message, '[skip]')" + runs-on: ubuntu-20.04 + steps: + - name: checkout + uses: actions/checkout@v4 + + - name: setup java + uses: actions/setup-java@v4 + with: + distribution: zulu + java-version: 17 + + - name: setup gradle + uses: gradle/gradle-build-action@v2.4.2 + with: + cache-read-only: false + + - name: do the build + run: ./gradlew assemble + continue-on-error: true + + - name: upload artifacts + uses: actions/upload-artifact@v4 + with: + name: interiors-artifacts-v${{ github.run_number }} + path: | + */build/libs/*.jar \ No newline at end of file