-
-
Notifications
You must be signed in to change notification settings - Fork 4
30 lines (28 loc) · 756 Bytes
/
testsite.yml
File metadata and controls
30 lines (28 loc) · 756 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: Test site build
on:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Set up JDK 17
uses: actions/setup-java@v5
with:
java-version: '17'
distribution: 'temurin'
cache: maven
- name: Build with Maven
run: mvn --batch-mode clean test
- name: Save PR number
run: echo ${{ github.event.number }} > pr-number.txt
- name: Upload PR number
uses: actions/upload-artifact@v7
with:
name: pr-number
path: pr-number.txt
- name: Archive generated site
uses: actions/upload-artifact@v7
with:
name: generated-site
path: ./target/roq/