From 1b74d6b6a4eb81efc53d9b3ad16b6b74eeb338b4 Mon Sep 17 00:00:00 2001 From: michaeloffner Date: Mon, 24 Jun 2024 14:54:12 +0200 Subject: [PATCH] add maven build --- .github/workflows/main-5.4.yml | 57 ---------------------------------- .github/workflows/main-6.0.yml | 56 --------------------------------- 2 files changed, 113 deletions(-) delete mode 100644 .github/workflows/main-5.4.yml delete mode 100644 .github/workflows/main-6.0.yml diff --git a/.github/workflows/main-5.4.yml b/.github/workflows/main-5.4.yml deleted file mode 100644 index c1d4304..0000000 --- a/.github/workflows/main-5.4.yml +++ /dev/null @@ -1,57 +0,0 @@ -# This workflow will build a Java project with Ant -# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-ant - -name: Java CI - Lucee 5.4 - -on: [push, pull_request,workflow_dispatch] - -jobs: - build: - - runs-on: ubuntu-latest - env: - luceeVersion: 5.4.1.80 - luceeVersionQuery: 5.4/all/light - steps: - - uses: actions/checkout@v4 - - name: Set up JDK 11 - uses: actions/setup-java@v4 - with: - java-version: '11' - distribution: 'adopt' - - name: Cache Maven packages - uses: actions/cache@v4 - with: - path: ~/.m2 - key: lucee-script-runner-maven-cache - enableCrossOsArchive: true - - name: Cache Lucee files - uses: actions/cache@v4 - with: - path: ~/work/_actions/lucee/script-runner/main/lucee-download-cache - key: lucee-downloads - enableCrossOsArchive: true - - name: Build with Ant - run: ant -noinput -verbose -buildfile build.xml - - name: Upload Artifact - uses: actions/upload-artifact@v4 - with: - name: image-lex - path: dist/*.lex - - name: Checkout Lucee - uses: actions/checkout@v4 - with: - repository: lucee/lucee - path: lucee - - name: Run Lucee Test Suite (testFilter="image") - uses: lucee/script-runner@main - with: - webroot: ${{ github.workspace }}/lucee/test - execute: /bootstrap-tests.cfm - luceeVersion: ${{ env.luceeVersion }} - luceeVersionQuery: ${{ env.luceeVersionQuery }} - extensionDir: ${{ github.workspace }}/dist - extensions: - env: - testLabels: image - testAdditional: ${{ github.workspace }}/tests diff --git a/.github/workflows/main-6.0.yml b/.github/workflows/main-6.0.yml deleted file mode 100644 index 75dbdb5..0000000 --- a/.github/workflows/main-6.0.yml +++ /dev/null @@ -1,56 +0,0 @@ -# This workflow will build a Java project with Ant -# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-ant - -name: Java CI - Lucee 6.0 - -on: [push, pull_request,workflow_dispatch] - -jobs: - build: - - runs-on: ubuntu-latest - env: - luceeVersion: light-6.0.0.451-BETA - luceeVersionQuery: 6.0/all/light - steps: - - uses: actions/checkout@v4 - - name: Set up JDK 11 - uses: actions/setup-java@v4 - with: - java-version: '17' - distribution: 'adopt' - - name: Cache Maven packages - uses: actions/cache@v4 - with: - path: ~/.m2 - key: lucee-script-runner-maven-cache - enableCrossOsArchive: true - - name: Cache Lucee files - uses: actions/cache@v4 - with: - path: ~/work/_actions/lucee/script-runner/main/lucee-download-cache - key: lucee-downloads - enableCrossOsArchive: true - - name: Build with Ant - run: ant -noinput -verbose -buildfile build.xml - - name: Upload Artifact - uses: actions/upload-artifact@v4 - with: - name: image-lex - path: dist/*.lex - - name: Checkout Lucee - uses: actions/checkout@v4 - with: - repository: lucee/lucee - path: lucee - - name: Run Lucee Test Suite (testFilter="image") - uses: lucee/script-runner@main - with: - webroot: ${{ github.workspace }}/lucee/test - execute: /bootstrap-tests.cfm - luceeVersion: ${{ env.luceeVersion }} - luceeVersionQuery: ${{ env.luceeVersionQuery }} - extensionDir: ${{ github.workspace }}/dist - env: - testLabels: image - testAdditional: ${{ github.workspace }}/tests