From c56189b1870304e79a7966affabb88d434fdc58d Mon Sep 17 00:00:00 2001 From: ShadelessFox Date: Wed, 21 Feb 2024 20:45:50 +0100 Subject: [PATCH] Enable GitHub CI --- .github/workflows/build.yml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 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..ddb8ad8c4 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,35 @@ +name: Build + +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +jobs: + build: + + runs-on: ubuntu-latest + permissions: + contents: read + + steps: + - uses: actions/checkout@v4 + + - name: Set up JDK 17 + uses: actions/setup-java@v4 + with: + java-version: '17' + distribution: 'temurin' + + - name: Build with Gradle Wrapper + run: ./gradlew build + + - name: Prepare artifacts + run: unzip build/distributions/*.zip -d build/distributions + + - name: Upload artifacts + uses: actions/upload-artifact@v4 + with: + name: decima + path: build/distributions/*/