-
Notifications
You must be signed in to change notification settings - Fork 210
48 lines (38 loc) · 1.06 KB
/
generate-codox-docs.yml
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
name: Build Codox Docs
on:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Set up Java
uses: actions/setup-java@v3
with:
java-version: 8
distribution: 'temurin'
- name: Set up Clojure
uses: DeLaGuardo/[email protected]
with:
cli: 'latest'
- name: Cache clojure dependencies
uses: actions/cache@v3
with:
path: |
~/.m2/repository
~/.gitlibs
key: cljdeps-${{ hashFiles('deps.edn') }}
restore-keys: cljdeps-
- name: Clone the repo
uses: actions/checkout@v4
- name: Install rlwrap
run: sudo apt-get install -y rlwrap
- name: Execute doc build
run: |
clj -X:docs
- name: Commit and push
run: |
git config --global user.name clojure-build
git config --global user.email "[email protected]"
git add -u -v
git commit -m "Action doc commit"
git push origin master