Skip to content

Check Default .CFConfig #2

Check Default .CFConfig

Check Default .CFConfig #2

name: Check Default .CFConfig
on:
workflow_dispatch:
workflow_call:
jobs:
tests:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
luceeVersion:
[
6.0/snapshot/jar,
6.1/snapshot/jar,
6.1.0/snapshot/jar,
6.2/snapshot/jar,
]
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
uses: actions/cache@v4
with:
path: /home/runner/work/_actions/lucee/script-runner/main/lucee-download-cache
key: lucee-downloads
- name: Save Default .CFConfig.json
uses: lucee/script-runner@main
with:
webroot: ${{ github.workspace }}/custom/default-cfconfig
execute: /saveDefault.cfm
luceeVersionQuery: ${{ matrix.luceeVersion }}
- name: Save Default .CFConfig.json
uses: lucee/script-runner@main
with:
webroot: ${{ github.workspace }}/custom/default-cfconfig
execute: /compareDefault.cfm
luceeVersionQuery: ${{ matrix.luceeVersion }}
env:
LUCEE_BASE_CONFIG: ${{ github.workspace }}/custom/default-cfconfig/.CFConfig-empty.json