1414 strategy :
1515 fail-fast : false
1616 matrix :
17- cfengine : ["lucee@5", "adobe@2018", "adobe@2021 ", "adobe@2023 "]
18- coldbox : ["coldbox@6", "coldbox@ 7", "coldbox@be"]
17+ cfengine : ["lucee@5", "adobe@2018", "adobe@2023 ", "boxlang@be "]
18+ coldbox : ["coldbox@7", "coldbox@be"]
1919 services :
2020 mysql :
2121 image : mysql:5.7
3737 java-version : 11
3838
3939 - name : Set Up CommandBox
40- uses : elpete/setup-commandbox@v1.0.0
40+ uses : Ortus-Solutions/setup-commandbox@v2.0.1
41+ with :
42+ install : commandbox-boxlang
4143
4244 - name : Install dependencies
4345 run : |
5355 DB_USER : quick
5456 DB_PASSWORD : quick
5557 run : |
56- box server start cfengine=${{ matrix.cfengine }}
58+ if [[ "${{ matrix.cfengine }}" == *"boxlang"* ]] ; then
59+ box server start cfengine=${{ matrix.cfengine }} javaVersion=openjdk21_jdk
60+ box run-script bx-modules:install
61+ box server restart
62+ else
63+ box server start cfengine=${{ matrix.cfengine }}
64+ fi
65+
5766 # Install Adobe 2021 cfpm modules
5867 if [[ "${{ matrix.cfengine }}" == "adobe@2021" ]] ; then
5968 box run-script install:2021
8796 java-version : 11
8897
8998 - name : Set Up CommandBox
90- uses : elpete/setup-commandbox@v1.0.0
99+ uses : Ortus-Solutions/setup-commandbox@v2.0.1
100+ with :
101+ install : commandbox-boxlang
91102
92103 - name : Install and Configure Semantic Release
93104 run : |
@@ -109,14 +120,3 @@ jobs:
109120 - name : Get Current Version
110121 id : current_version
111122 run : echo "::set-output name=version::`cat box.json | jq '.version' -r`"
112-
113- - name : Upload API Docs to S3
114- uses : jakejarvis/s3-sync-action@master
115- with :
116- args : --acl public-read
117- env :
118- AWS_S3_BUCKET : " apidocs.ortussolutions.com"
119- AWS_ACCESS_KEY_ID : ${{ secrets.AWS_ACCESS_KEY }}
120- AWS_SECRET_ACCESS_KEY : ${{ secrets.AWS_ACCESS_SECRET }}
121- SOURCE_DIR : " .tmp/apidocs"
122- DEST_DIR : " ${{ github.repository }}/${{ steps.current_version.outputs.version }}"
0 commit comments