Skip to content
This repository was archived by the owner on Feb 27, 2025. It is now read-only.

Commit bf63ed2

Browse files
committed
Setup GitHub Actions
1 parent 4114c99 commit bf63ed2

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

.github/workflows/build.yml

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: build
2+
on:
3+
push:
4+
pull_request:
5+
types: [opened, synchronize, reopened]
6+
7+
jobs:
8+
build:
9+
strategy:
10+
matrix:
11+
java: [
12+
21,
13+
]
14+
os: [ubuntu-20.04]
15+
runs-on: ${{ matrix.os }}
16+
steps:
17+
- name: Checkout the docs repository
18+
uses: actions/checkout@v3
19+
20+
- name: Setup JDK ${{ matrix.java }}
21+
uses: actions/setup-java@v4
22+
with:
23+
distribution: temurin
24+
java-version: ${{ matrix.java }}
25+
cache: gradle
26+
27+
- name: Run markdownlint on all documentation Markdown documents
28+
uses: DavidAnson/markdownlint-cli2-action@v8
29+
with:
30+
globs: 'docssrc/src/*.md'
31+
32+
- name: Build commandapi-documentation-code
33+
run: cd commandapi-documentation-code && ./gradlew build
34+
35+
- name: Build commandapi-documentation-velocity-code
36+
run: cd commandapi-documentation-velocity-code && ./gradlew build

0 commit comments

Comments
 (0)