Skip to content

Commit 39fc612

Browse files
committed
Merge branch 'development'
2 parents 2f9219c + 961a451 commit 39fc612

34 files changed

+275
-104
lines changed

.github/workflows/lts.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
name: Code Auto-Formatting
2121
runs-on: ubuntu-20.04
2222
steps:
23-
- uses: actions/checkout@v3
23+
- uses: actions/checkout@v4
2424

2525
- name: Auto-format
2626
uses: Ortus-Solutions/[email protected]

.github/workflows/pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
runs-on: ubuntu-20.04
2323
steps:
2424
- name: Checkout Repository
25-
uses: actions/checkout@v3.2.0
25+
uses: actions/checkout@v4.2.0
2626

2727
- uses: Ortus-Solutions/[email protected]
2828
with:

.github/workflows/release.yml

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,10 @@ jobs:
4040
runs-on: ubuntu-20.04
4141
steps:
4242
- name: Checkout Repository
43-
uses: actions/checkout@v3
43+
uses: actions/checkout@v4
4444

4545
- name: Setup Java
46-
uses: actions/setup-java@v3
46+
uses: actions/setup-java@v4
4747
with:
4848
distribution: "temurin"
4949
java-version: "11"
@@ -88,7 +88,7 @@ jobs:
8888
box task run build/Build.cfc run ${{ env.COLDBOX_VERSION }} ${{ github.run_number }} ${{ env.BRANCH }}
8989
9090
- name: Commit Changelog [unreleased] with latest version
91-
uses: EndBug/[email protected].1
91+
uses: EndBug/[email protected].4
9292
if: env.SNAPSHOT == 'false'
9393
with:
9494
author_name: Github Actions
@@ -97,7 +97,7 @@ jobs:
9797
add: changelog.md
9898

9999
- name: Tag Version
100-
uses: rickstaa/action-create-tag@v1.6.1
100+
uses: rickstaa/action-create-tag@v1.7.2
101101
if: env.SNAPSHOT == 'false'
102102
with:
103103
tag: "v${{ env.COLDBOX_VERSION }}"
@@ -106,9 +106,8 @@ jobs:
106106

107107
- name: Upload Build Artifacts
108108
if: success()
109-
uses: actions/upload-artifact@v2
109+
uses: actions/upload-artifact@v4
110110
with:
111-
name: coldbox-variants
112111
path: |
113112
.artifacts/**/*
114113
changelog.md
@@ -144,7 +143,7 @@ jobs:
144143
cd $ROOT_DIR/.artifacts/logbox/${{ env.COLDBOX_VERSION }} && box forgebox publish
145144
146145
- name: Create Github Release
147-
uses: taiki-e/create-gh-release-action@v1.6.2
146+
uses: taiki-e/create-gh-release-action@v1.8.0
148147
continue-on-error: true
149148
if: env.SNAPSHOT == 'false'
150149
with:
@@ -175,13 +174,13 @@ jobs:
175174
needs: [ build ]
176175
steps:
177176
- name: Checkout Development Repository
178-
uses: actions/checkout@v3
177+
uses: actions/checkout@v4
179178
if: env.LTS == 'false'
180179
with:
181180
ref: development
182181

183182
- name: Checkout LTS Repository
184-
uses: actions/checkout@v3
183+
uses: actions/checkout@v4
185184
if: env.LTS == 'true'
186185

187186
- name: Setup CommandBox
@@ -190,9 +189,8 @@ jobs:
190189
forgeboxAPIKey: ${{ secrets.FORGEBOX_TOKEN }}
191190

192191
- name: Download build artifacts
193-
uses: actions/download-artifact@v2
192+
uses: actions/download-artifact@v4
194193
with:
195-
name: coldbox-variants
196194
path: .tmp
197195

198196
- name: Copy Changelog
@@ -210,7 +208,7 @@ jobs:
210208
git pull
211209
212210
- name: Commit Version Bump
213-
uses: EndBug/[email protected].1
211+
uses: EndBug/[email protected].4
214212
with:
215213
author_name: Github Actions
216214
author_email: [email protected]

.github/workflows/snapshot.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ on:
77
branches:
88
- development
99

10+
# Unique group name per workflow-branch/tag combo
11+
concurrency:
12+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
13+
cancel-in-progress: true
14+
1015
jobs:
1116
#############################################
1217
# Tests First baby! We fail, no build :(
@@ -22,7 +27,7 @@ jobs:
2227
name: Code Auto-Formatting
2328
runs-on: ubuntu-20.04
2429
steps:
25-
- uses: actions/checkout@v3
30+
- uses: actions/checkout@v4
2631

2732
- name: Auto-format
2833
uses: Ortus-Solutions/[email protected]

.github/workflows/tests.yml

Lines changed: 27 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -19,26 +19,22 @@ jobs:
1919
strategy:
2020
fail-fast: false
2121
matrix:
22-
commandbox_version: [ "5.9.0" ]
22+
commandbox_version: [ "6.0.1" ]
2323
cfengine: [ "lucee@5", "adobe@2018", "adobe@2021", "adobe@2023" ]
2424
jdkVersion: [ "11" ]
2525
experimental: [false]
2626
include:
2727
- cfengine: "lucee@6"
28-
commandbox_version: "6.0.0-alpha"
29-
jdkVersion: "11"
30-
experimental: true
31-
- cfengine: "lucee@6"
32-
commandbox_version: "6.0.0-alpha"
3328
jdkVersion: "17"
29+
commandbox_version: "6.0.1"
3430
experimental: true
3531
- cfengine: "adobe@2023"
36-
commandbox_version: "5.9.0"
3732
jdkVersion: "17"
33+
commandbox_version: "6.0.1"
3834
experimental: false
3935
steps:
4036
- name: Checkout Repository
41-
uses: actions/checkout@v2
37+
uses: actions/checkout@v4
4238

4339
- name: Setup Database and Fixtures
4440
run: |
@@ -47,7 +43,7 @@ jobs:
4743
mysql -u${{ env.DB_USER }} -p${{ env.DB_PASSWORD }} < tests/resources/coolblog.sql
4844
4945
- name: Setup Java
50-
uses: actions/setup-java@v3
46+
uses: actions/setup-java@v4
5147
with:
5248
distribution: "temurin"
5349
java-version: ${{ matrix.jdkVersion }}
@@ -87,18 +83,11 @@ jobs:
8783
- name: Set cfengine version env
8884
run: echo "CFENGINE_VERSION=$(box echo ${serverInfo.engineName@coldbox-${{ matrix.cfengine }}}@${serverInfo.engineVersion@coldbox-${{ matrix.cfengine }}})" >> $GITHUB_ENV
8985

90-
- name: Publish Test Results
91-
uses: EnricoMi/publish-unit-test-result-action@v2
92-
if: always()
93-
with:
94-
files: tests/results/**/*.xml
95-
check_name: "${{ env.CFENGINE_VERSION }} Test Results"
96-
9786
- name: Upload Test Results Artifacts
9887
if: always()
99-
uses: actions/upload-artifact@v2
88+
uses: actions/upload-artifact@v4
10089
with:
101-
name: coldbox-test-results-${{ matrix.cfengine }}
90+
name: Test Results Engine ${{ matrix.cfengine }} JDK ${{ matrix.jdkVersion }}
10291
path: |
10392
tests/results/**/*
10493
@@ -115,7 +104,7 @@ jobs:
115104
SLACK_USERNAME: CI
116105
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_URL }}
117106

118-
- name: Failure Debugging Info
107+
- name: Output Failure Debugging Info
119108
if: ${{ failure() }}
120109
run: |
121110
box version
@@ -124,9 +113,26 @@ jobs:
124113
125114
- name: Upload Debugging Info To Artifacts
126115
if: ${{ failure() }}
127-
uses: actions/upload-artifact@v2
116+
uses: actions/upload-artifact@v4
128117
with:
129-
name: Failure Debugging Info - ${{ matrix.cfengine }}
118+
name: Failure Debugging Info - ${{ matrix.cfengine }} - ${{ matrix.jdkVersion }}
130119
path: |
131120
.engine/**/logs/*
132121
.engine/**/WEB-INF/cfusion/logs/*
122+
123+
# Publish the test results
124+
publish-test-results:
125+
name: Publish Test Results
126+
needs: tests
127+
runs-on: ubuntu-latest
128+
if: always()
129+
steps:
130+
- name: Download Test Results Artifacts
131+
uses: actions/download-artifact@v4
132+
with:
133+
path: artifacts
134+
135+
- name: Publish Test Results
136+
uses: EnricoMi/publish-unit-test-result-action@v2
137+
with:
138+
files: artifacts/**/*.xml

apidocs/cachebox.cfm

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44
docName = "CacheBox-APIDocs";
55
base = expandPath( "/cachebox/system" );
66
7+
// Create the output directory if it doesn't exist
8+
if ( !directoryExists( url.path ) ) {
9+
directoryCreate( url.path );
10+
}
11+
712
docbox = new docbox.DocBox( properties = {
813
projectTitle = "CacheBox v#url.version#",
914
outputDir = url.path

apidocs/coldbox.cfm

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44
docName = "ColdBox-APIDocs";
55
base = expandPath( "/coldbox/system" );
66
7+
// Create the output directory if it doesn't exist
8+
if ( !directoryExists( url.path ) ) {
9+
directoryCreate( url.path );
10+
}
11+
712
docbox = new docbox.DocBox( properties = {
813
projectTitle = "ColdBox v#url.version#",
914
outputDir = url.path

apidocs/logbox.cfm

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44
docName = "logbox-APIDocs";
55
base = expandPath( "/logbox/system" );
66
7+
// Create the output directory if it doesn't exist
8+
if ( !directoryExists( url.path ) ) {
9+
directoryCreate( url.path );
10+
}
11+
712
docbox = new docbox.DocBox( properties = {
813
projectTitle = "logbox v#url.version#",
914
outputDir = url.path

apidocs/wirebox.cfm

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44
docName = "wirebox-APIDocs";
55
base = expandPath( "/wirebox/system" );
66
7+
// Create the output directory if it doesn't exist
8+
if ( !directoryExists( url.path ) ) {
9+
directoryCreate( url.path );
10+
}
11+
712
docbox = new docbox.DocBox( properties = {
813
projectTitle = "wirebox v#url.version#",
914
outputDir = url.path

box.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name":"ColdBox Platform",
3-
"version":"7.2.1",
3+
"version":"7.3.0",
44
"location":"https://downloads.ortussolutions.com/ortussolutions/coldbox/@build.version@/[email protected]@.zip",
55
"author":"Ortus Solutions <[email protected]>",
66
"slug":"coldbox",

0 commit comments

Comments
 (0)