Skip to content

Commit e012c8f

Browse files
authored
Add github actions (#345)
1 parent c87ba5c commit e012c8f

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/build.yml

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Build GWT Site
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- uses: actions/checkout@v4
13+
- name: Set up Java 11
14+
uses: actions/setup-java@v4
15+
with:
16+
java-version: 11
17+
distribution: 'temurin'
18+
cache: 'maven'
19+
- name: Build with Maven
20+
run: mvn -e --batch-mode --no-transfer-progress verify -Pgrunt
21+
22+
- name: Upload artifact for testing/deployment
23+
uses: actions/upload-artifact@v3
24+
with:
25+
name: gwt-site
26+
path: 'target/generated-site/'

0 commit comments

Comments
 (0)