From e012c8f1d4d5f87bdd23b021027f14fa7aa994c6 Mon Sep 17 00:00:00 2001 From: Colin Alworth Date: Thu, 12 Dec 2024 12:11:51 -0600 Subject: [PATCH] Add github actions (#345) --- .github/workflows/build.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 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..91947cad1 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,26 @@ +name: Build GWT Site + +on: + push: + pull_request: + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - name: Set up Java 11 + uses: actions/setup-java@v4 + with: + java-version: 11 + distribution: 'temurin' + cache: 'maven' + - name: Build with Maven + run: mvn -e --batch-mode --no-transfer-progress verify -Pgrunt + + - name: Upload artifact for testing/deployment + uses: actions/upload-artifact@v3 + with: + name: gwt-site + path: 'target/generated-site/'