From 20d66015cf3bf4fb53c6216af3b7859c1fe480e4 Mon Sep 17 00:00:00 2001 From: Oscar Tisnado <68830577+otisnado@users.noreply.github.com> Date: Mon, 3 Feb 2025 22:21:37 -0600 Subject: [PATCH] ci: enable workflow dispatch for triggering boxlang tests and reinstall commandbox-boxlang --- .github/workflows/snapshot.yml | 1 + .github/workflows/tests.yml | 5 +++++ server-boxlang@1.json | 2 +- 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/snapshot.yml b/.github/workflows/snapshot.yml index 63aca2e..93b278d 100644 --- a/.github/workflows/snapshot.yml +++ b/.github/workflows/snapshot.yml @@ -4,6 +4,7 @@ on: push: branches: - 'development' + workflow_dispatch: jobs: ########################################################################################## diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 7d43f34..a13f450 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -71,6 +71,11 @@ jobs: - name: Setup CommandBox CLI uses: Ortus-Solutions/setup-commandbox@v2.0.1 + - name: Update Commandbox Boxlang Module + if: ${{ matrix.cfengine == 'boxlang@1' }} + run: + box install --force commandbox-boxlang + - name: Install Dependencies run: | box install diff --git a/server-boxlang@1.json b/server-boxlang@1.json index c585865..7bd8b44 100644 --- a/server-boxlang@1.json +++ b/server-boxlang@1.json @@ -22,7 +22,7 @@ "JVM":{ "heapSize":"1024", "javaVersion":"openjdk21_jdk", - "args":"-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=9999" + "args":"-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=9999 -Dboxlang.debugMode=true" }, "cfconfig":{ "file":".cfconfig.json"