From 19fd5e6ac976fa9250b2d28fb7dc1e95071841e5 Mon Sep 17 00:00:00 2001 From: zekroTJA Date: Sat, 25 May 2024 01:46:13 +0200 Subject: [PATCH] add artifacts build workflow --- .github/workflows/build.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 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 000000000..97383bd7c --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,29 @@ +name: Build Artifacts +on: + push: + branches: + - "*" + workflow_dispatch: + +jobs: + build_artifcats: + runs-on: ubuntu-latest + steps: + - name: Checkout Code + uses: actions/checkout@v4 + + - name: Set up JDK 17 + uses: actions/setup-java@v4 + with: + java-version: '17' + distribution: 'temurin' + + - name: Build with Gradle + run: ./gradlew build + + - name: Upload Artifacts + uses: actions/upload-artifact@v2 + with: + name: jar + path: build/libs/ + retention-days: 30 \ No newline at end of file