@@ -22,19 +22,57 @@ jobs:
2222 strategy :
2323 fail-fast : false
2424 matrix :
25- cfengine : [ "lucee@5", "lucee@6", "adobe@2018", "adobe@2021" ]
25+ cfengine : [ "lucee@5", "lucee@6" ,"adobe@2018", "adobe@2021", "adobe@2023", "adobe@2025", "boxlang-cfml@1" ]
26+ coldboxVersion : [ "^6.0.0", "^7.0.0", "^8.0.0" ]
2627 experimental : [ false ]
2728 include :
28- - cfengine : " boxlang@1"
29+ - coldboxVersion : " ^8.0.0"
30+ cfengine : " boxlang@1"
31+ experimental : false
32+ - coldboxVersion : " be"
33+ cfengine : " lucee@5"
34+ experimental : true
35+ - coldboxVersion : " be"
36+ cfengine : " lucee@6"
37+ experimental : true
38+ - coldboxVersion : " be"
39+ cfengine : " lucee@be"
40+ experimental : true
41+ - coldboxVersion : " be"
42+ cfengine : " adobe@2018"
43+ experimental : true
44+ - coldboxVersion : " be"
45+ cfengine : " adobe@2021"
46+ experimental : true
47+ - coldboxVersion : " be"
48+ cfengine : " adobe@2023"
49+ experimental : true
50+ - coldboxVersion : " be"
51+ cfengine : " adobe@2025"
52+ experimental : true
53+ - coldboxVersion : " be"
54+ cfengine : " adobe@be"
55+ experimental : true
56+ - coldboxVersion : " be"
57+ cfengine : " boxlang@1"
58+ experimental : true
59+ - coldboxVersion : " be"
60+ cfengine : " boxlang@be"
61+ experimental : true
62+ - coldboxVersion : " be"
63+ cfengine : " boxlang-cfml@1"
64+ experimental : true
65+ - coldboxVersion : " be"
66+ cfengine : " boxlang-cfml@be"
2967 experimental : true
3068 steps :
3169 - name : Checkout Repository
32- uses : actions/checkout@v2
70+ uses : actions/checkout@v5
3371
3472 - name : Setup Java
35- uses : actions/setup-java@v2
73+ uses : actions/setup-java@v5
3674 with :
37- distribution : " adopt "
75+ distribution : " temurin "
3876 java-version : " 11"
3977
4078 - name : Cache CommandBox Dependencies
@@ -46,28 +84,22 @@ jobs:
4684 restore-keys : |
4785 ${{ runner.OS }}-commandbox-cache-${{ hashFiles( 'box.json' ) }}-${{ hashFiles( 'test-harness/box.json' ) }}
4886
49- - name : Setup CommandBox
50- 51-
52- - name : Update Commandbox Boxlang Module
53- if : ${{ matrix.cfengine == 'boxlang@1' }}
54- run :
55- box install --force commandbox-boxlang
87+ - name : Setup CommandBox CLI
88+ uses :
Ortus-Solutions/[email protected] 89+ with :
90+ install : commandbox-boxlang
5691
57- - name : Install Test Harness Dependencies
58- working-directory : ./test-harness
92+ - name : Install Test Harness with ColdBox ${{ matrix.coldboxVersion }}
5993 run : |
6094 box install
95+ cd test-harness
96+ box package set dependencies.coldbox=${{ matrix.coldboxVersion }}
97+ box install
6198
6299 - name : Start ${{ matrix.cfengine }} Server
63- working-directory : ./test-harness
64100 run : |
65101 echo "matrix.cfengine=${{ matrix.cfengine }}" > ./.env
66102 box server start serverConfigFile="server-${{ matrix.cfengine }}.json" --noSaveSettings --debug
67- # Install Adobe 2021 cfpm modules
68- if [[ "${{ matrix.cfengine }}" == "adobe@2021" ]] ; then
69- box run-script install:2021
70- fi
71103 curl http://127.0.0.1:60299
72104
73105 - name : Run Tests
@@ -125,17 +157,17 @@ jobs:
125157 build :
126158 name : Build & Publish
127159 needs : tests
128- runs-on : ubuntu-24.04
160+ runs-on : ubuntu-latest
129161 steps :
130162 - name : Checkout Repository
131- uses : actions/checkout@v2
163+ uses : actions/checkout@v5
132164 with :
133165 fetch-depth : 0
134166
135167 - name : Setup Java
136- uses : actions/setup-java@v2
168+ uses : actions/setup-java@v5
137169 with :
138- distribution : " adopt "
170+ distribution : " temurin "
139171 java-version : " 11"
140172
141173 - name : Cache CommandBox Dependencies
@@ -147,10 +179,11 @@ jobs:
147179 restore-keys : |
148180 ${{ runner.OS }}-commandbox-cache-${{ hashFiles( 'box.json' ) }}-${{ hashFiles( 'test-harness/box.json' ) }}
149181
150- - name : Setup CommandBox
151- uses : elpete /setup-commandbox@v1 .0.0
182+ - name : Setup CommandBox CLI
183+ uses : Ortus-Solutions /setup-commandbox@v2 .0.1
152184 with :
153185 forgeboxAPIKey : ${{ secrets.FORGEBOX_TOKEN }}
186+ install : commandbox-docbox
154187
155188 - name : Setup Environment Variables For Build Process
156189 id : current_version
@@ -167,7 +200,6 @@ jobs:
167200
168201 - name : Build ${{ env.MODULE_ID }}
169202 run : |
170- box install commandbox-docbox
171203 box task run taskfile=build/Build target=run :version=${{ env.VERSION }} :projectName=${{ env.MODULE_ID }} :buildID=${{ github.run_number }} :branch=${{ env.BRANCH }}
172204
173205 - name : Upload Build Artifacts
0 commit comments