Skip to content

Merge branch 'main' of github.com:michaelborn/cfPlaid #34

Merge branch 'main' of github.com:michaelborn/cfPlaid

Merge branch 'main' of github.com:michaelborn/cfPlaid #34

Workflow file for this run

name: Release
on:
push:
branches:
- main
jobs:
tests:
name: Tests
if: "!contains(github.event.head_commit.message, '__SEMANTIC RELEASE VERSION UPDATE__')"
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
cfengine: ["lucee@5", "adobe@2016", "adobe@2018", "adobe@2021"]
steps:
- name: Checkout Repository
uses: actions/checkout@v3.2.0
- name: Setup Java JDK
uses: actions/setup-java@v3.9.0
with:
distribution: "temurin"
java-version: 11
- name: Set Up CommandBox
uses: elpete/setup-commandbox@v1.0.0
- name: Install dependencies
run: box install
- name: Start server
run: |
box set cfconfig_robustExceptionEnabled=true
box server start cfengine=${{ matrix.cfengine }} port=9999 --noSaveSettings
env:
PLAID_URL: https://sandbox.plaid.com
PLAID_CLIENT_ID: ${{ secrets.PLAID_CLIENT_ID }}
PLAID_CLIENT_SECRET: ${{ secrets.PLAID_CLIENT_SECRET }}
- run: box testbox run runner="http://localhost:9999/runner.cfm"
- name: Failure Debugging Info
if: ${{ failure() }}
working-directory: ./tests
run: |
box server log
release:
name: Semantic Release
if: "!contains(github.event.head_commit.message, '__SEMANTIC RELEASE VERSION UPDATE__')"
needs: tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3.2.0
- uses: Ortus-Solutions/semantic-release-action@v1.1
with:
githubToken: ${{ secrets.GH_TOKEN }}
excludeCommit: ${{ github.event.head_commit.message }}
forgeboxToken: ${{ secrets.FORGEBOX_TOKEN }}
branch: main
plugins: '{ "VerifyConditions": "GitHubActionsConditionsVerifier@commandbox-semantic-release", "FetchLastRelease": "ForgeBoxReleaseFetcher@commandbox-semantic-release", "RetrieveCommits": "JGitCommitsRetriever@commandbox-semantic-release", "ParseCommit": "EmojiLogCommitParser@commandbox-semantic-release", "FilterCommits": "DefaultCommitFilterer@commandbox-semantic-release", "AnalyzeCommits": "EmojiLogCommitAnalyzer@commandbox-semantic-release", "VerifyRelease": "NullReleaseVerifier@commandbox-semantic-release", "GenerateNotes": "GitHubMarkdownNotesGenerator@commandbox-semantic-release", "UpdateChangelog": "FileAppendChangelogUpdater@commandbox-semantic-release", "CommitArtifacts": "GitHubArtifactsCommitter@commandbox-semantic-release", "PublishRelease": "ForgeBoxReleasePublisher@commandbox-semantic-release", "PublicizeRelease": "GitHubReleasePublicizer@commandbox-semantic-release" }'