Skip to content

sample-extension-java: migrate to test suites #126

sample-extension-java: migrate to test suites

sample-extension-java: migrate to test suites #126

name: Build docker sample-extension-java
on:
push:
branches: [ main ]
paths:
- "sample-extension-java/**"
workflow_dispatch:
schedule:
- cron: '0 0 * * 0'
env:
SAMPLE_NAME: sample-extension-java
jobs:
build:
defaults:
run:
working-directory: sample-extension-java
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/[email protected]
with:
java-version: 17
distribution: adopt
- name: Gradle Build and then Build the Docker image
run: make build-image
- name: Slack Notify
uses: rtCamp/[email protected]
if: ${{ failure() }}
env:
SLACK_MESSAGE: 'Build Failed for ${{ env.SAMPLE_NAME }}'
SLACK_WEBHOOK: ${{ secrets.BUILD_FAIL_NOTIFY_SLACK_URL }}