File tree Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Original file line number Diff line number Diff line change 11
11
MODULE_ID : cbvalidation
12
12
13
13
jobs :
14
- # ############################################
14
+ # ############################################
15
15
# Tests First baby! We fail, no build :(
16
16
# ############################################
17
17
tests :
20
20
SLACK_WEBHOOK_URL : ${{ secrets.SLACK_WEBHOOK_URL }}
21
21
22
22
# ############################################
23
- # Build Module
23
+ # Build
24
24
# ############################################
25
25
build :
26
26
name : Build & Publish
38
38
distribution : " adopt"
39
39
java-version : " 11"
40
40
41
+ - name : Cache CommandBox Dependencies
42
+ uses : actions/cache@v1
43
+ if : ${{ true }}
44
+ with :
45
+ path : ~/.CommandBox/artifacts
46
+ key : ${{ runner.OS }}-commandbox-cache-${{ hashFiles( 'box.json' ) }}-${{ hashFiles( 'test-harness/box.json' ) }}
47
+ restore-keys : |
48
+ ${{ runner.OS }}-commandbox-cache-${{ hashFiles( 'box.json' ) }}-${{ hashFiles( 'test-harness/box.json' ) }}
49
+
41
50
- name : Setup CommandBox
42
51
uses : Ortus-Solutions/setup-commandbox@main
43
52
with :
55
64
then
56
65
echo "BRANCH=development" >> $GITHUB_ENV
57
66
fi
58
-
59
67
- name : Build ${{ env.MODULE_ID }}
60
68
run : |
61
69
box install commandbox-docbox
97
105
cat box.json
98
106
box forgebox publish
99
107
100
- - name : Inform Slack
108
+ - name : Inform Slack of Build
101
109
if : ${{ always() }}
102
110
uses : rtCamp/action-slack-notify@v2
103
111
env :
You can’t perform that action at this time.
0 commit comments