From f89370a4525d8a334ec2224b4b47e6172205560f Mon Sep 17 00:00:00 2001 From: Zac Spitzer Date: Fri, 5 Jul 2024 13:37:15 +0200 Subject: [PATCH] Create zacs-admin-extensions.yml --- .github/workflows/zacs-admin-extensions.yml | 52 +++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 .github/workflows/zacs-admin-extensions.yml diff --git a/.github/workflows/zacs-admin-extensions.yml b/.github/workflows/zacs-admin-extensions.yml new file mode 100644 index 0000000..315eab1 --- /dev/null +++ b/.github/workflows/zacs-admin-extensions.yml @@ -0,0 +1,52 @@ +name: Check Zac's admin Extensions + +on: + workflow_dispatch: + workflow_call: + +jobs: + tests: + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + luceeVersion: + [ + 6.0/snapshot/light, + 6.1/snapshot/light, + 6.1.0/snapshot/light, + 6.2/snapshot/light + ] + javaVersion: [ 11 ] + env: + luceeVersionQuery: ${{ matrix.luceeVersion }} + compile: ${{ github.event.inputs.compile }} + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Set up JDK ${{matrix.javaVersion}} + uses: actions/setup-java@v4 + with: + java-version: ${{matrix.javaVersion}} + distribution: "temurin" + + - name: Cache Maven packages + uses: actions/cache@v4 + with: + path: ~/.m2 + key: maven-cache + - name: Cache Lucee files + if: always() + uses: actions/cache@v4 + with: + path: /home/runner/work/_actions/lucee/script-runner/main/lucee-download-cache + key: lucee-downloads + + - name: Check Zac's admin plugins compile as they often catch regressions + uses: lucee/script-runner@main + with: + webroot: ${{ github.workspace }}/custom/default-cfconfig + execute: /compareDefault.cfm + luceeVersionQuery: ${{ matrix.luceeVersion }} + compile: true + extensions: 91AF5D75-8CEF-4510-A170240C401F5FBA,A345C8CB-04CC-4D2B-93D50471D5105D83 # log viewer, performance analyzer