Skip to content

Attempt adding deploy step for manual review #42

Attempt adding deploy step for manual review

Attempt adding deploy step for manual review #42

Workflow file for this run

name: fw1 Java 11
on:
push:
branches: [ "develop", "5.0.0" ]
pull_request:
branches: [ "develop", "5.0.0" ]
jobs:
test:
strategy:
matrix:
engine: [ lucee@5, adobe@2023, adobe@2021, adobe@2018 ]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'temurin'
- name: Transfer files to fw1-4.3.2.mycfspace.org for manual review
uses: SamKirkland/FTP-Deploy-Action@v4.3.4
with:
server: ${{ secrets.FTP_HOST_432 }}
username: ${{ secrets.FTP_USER_432 }}
password: ${{ secrets.FTP_PASSWORD_432 }}
- name: Install the ortus security key
run: curl -fsSl https://downloads.ortussolutions.com/debs/gpg | gpg --dearmor | sudo tee /usr/share/keyrings/ortussolutions.gpg > /dev/null
- name: Add the commandbox source
run: echo "deb [signed-by=/usr/share/keyrings/ortussolutions.gpg] https://downloads.ortussolutions.com/debs/noarch /" | sudo tee /etc/apt/sources.list.d/commandbox.list
- name: Update apt and install commandbox
run: sudo apt-get update && sudo apt-get install apt-transport-https commandbox
- name: Install dependencies
run: box install
- name: Start the ${{ matrix.engine }} CFML engine
run: box server start cfengine=${{ matrix.engine }} port=8500 openbrowser=false
- name: Run test
run: |
testResults="echo $(box testbox run reporter=mintext)";
echo "$testResults";
if grep -i "\[Failures: [1-9][0-9]\?[0-9]\?\]\|\[Errors: [1-9][0-9]\?[0-9]\?\]\|<t[^>]*>\|<b[^>]*>" <<< $testResults; then exit 1; fi