This repository was archived by the owner on Apr 27, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +21
-12
lines changed
Expand file tree Collapse file tree 1 file changed +21
-12
lines changed Original file line number Diff line number Diff line change @@ -2,12 +2,12 @@ name: DocBox
22
33on :
44 push :
5- branches :
6- - master
7- - main
8- paths :
9- - ' **.cfc'
10- - ' .github/workflows/*.yml'
5+ # branches:
6+ # - master
7+ # - main
8+ # paths:
9+ # - '**.cfc'
10+ # - '.github/workflows/*.yml'
1111
1212env :
1313 MODULE_ID : sqlFormatter
@@ -19,21 +19,30 @@ jobs:
1919 steps :
2020 - name : Checkout Repo
2121 uses : actions/checkout@v2
22+
23+ - name : Setup Java
24+ uses : actions/setup-java@v2
25+ with :
26+ distribution : " adopt"
27+ java-version : " 11"
28+
29+ - name : Setup CommandBox CLI
30+ uses : Ortus-Solutions/setup-commandbox@main
31+
32+ - run : box install commandbox-docbox
2233
2334 - name : Generate Docs
24- uses : Ortus-Solutions/commandbox-action@v1.0.2
25- with :
26- cmd : run-script build:docs
35+ run : box run-script build:docs
2736
2837 - name : Commit Docs to Repo
2938 uses : stefanzweifel/git-auto-commit-action@v4
3039 with :
3140 commit_message : " 📖 DOC: Auto-generate API docs"
3241
3342 - name : Setup env.VERSION
34- uses : Ortus-Solutions/commandbox-action@v1.0.2
35- with :
36- cmd : echo " VERSION=`box package version`" >> $GITHUB_ENV
43+ run : echo "VERSION=`box package version`" >> $GITHUB_ENV
44+
45+ - run : echo ${{ env. VERSION }}
3746
3847 - name : Upload API Docs to S3
3948 uses : jakejarvis/s3-sync-action@master
You can’t perform that action at this time.
0 commit comments