diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..6d0fa68 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,54 @@ +# 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 + +on: [push, pull_request, workflow_dispatch] + +jobs: + build: + + runs-on: ubuntu-latest + env: + luceeVersion: light-6.0.0.152-SNAPSHOT + + steps: + - uses: actions/checkout@v2 + - name: Set up JDK 11 + uses: actions/setup-java@v2 + with: + java-version: '11' + distribution: 'adopt' + - name: Cache Maven packages + uses: actions/cache@v2 + with: + path: ~/.m2 + key: lucee-script-runner-maven-cache + - name: Cache Lucee files + uses: actions/cache@v2 + with: + path: _actions/lucee/script-runner/main/lucee-download-cache + key: lucee-downloads-${{ env.luceeVersion }} + restore-keys: | + lucee-downloads + - name: Build with Ant + run: ant -noinput -verbose -buildfile build.xml + - name: Upload Artifact + uses: actions/upload-artifact@v2 + with: + name: sentry-lex + path: dist/*.lex + - name: Checkout Lucee + uses: actions/checkout@v2 + with: + repository: lucee/lucee + path: lucee + - name: Run Lucee Test Suite (testFilter="sentry") + uses: lucee/script-runner@main + with: + webroot: ${{ github.workspace }}/lucee/test + execute: /bootstrap-tests.cfm + luceeVersion: ${{ env.luceeVersion }} + extensionDir: ${{ github.workspace }}/dist + env: + testFilter: sentry diff --git a/README.md b/README.md new file mode 100644 index 0000000..0aa312c --- /dev/null +++ b/README.md @@ -0,0 +1,9 @@ +# Lucee Sentry Logger Extension + +[![Java CI](https://github.com/lucee/extension-sentry/actions/workflows/main.yml/badge.svg)](https://github.com/lucee/extension-sentry/actions/workflows/main.yml) + +Provides a Sentry Log Appender for Lucee + +Uses [Sentry Java SDK](https://github.com/getsentry/sentry-java) + +Issues: [https://luceeserver.atlassian.net/issues/?jql=labels%20%3D%20%22Image%22](https://luceeserver.atlassian.net/issues/?jql=labels%20%3D%20%22Sentry%22) \ No newline at end of file