Skip to content

Update dependency org.apache.maven.plugins:maven-plugin-plugin to v3.15.1 - autoclosed #22

Update dependency org.apache.maven.plugins:maven-plugin-plugin to v3.15.1 - autoclosed

Update dependency org.apache.maven.plugins:maven-plugin-plugin to v3.15.1 - autoclosed #22

Workflow file for this run

name: Verify Build Workflow
on:
push:
paths-ignore:
- '.github/**'
- '.gitignore'
- 'LICENSE'
- 'README*'
- 'CODE_OF_CONDUCT*'
branches: [main]
pull_request:
paths-ignore:
- '.github/**'
- '.gitignore'
- 'LICENSE'
- 'README*'
- 'CODE_OF_CONDUCT*'
branches: [main]
jobs:
build-verify:
name: Verify Build
runs-on: ubuntu-20.04
if: github.repository_owner == 'Apicurio'
steps:
- name: Checkout Code
uses: actions/checkout@v2
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: 17
distribution: 'temurin'
cache: 'maven'
- name: Check Java Version
run: java -version
- name: Set up Maven
uses: stCarolas/setup-maven@v4
with:
maven-version: '3.6.3'
- name: Check Maven Version
run: mvn --version
- name: Build Project
run: mvn clean install
- name: Slack Notification (Always)
if: github.event_name == 'push' && always()
run: |
MESSAGE="${{ github.repository }} :: '${{ github.workflow }}/${{ github.job }}' job completed with status: ${{ job.status }}"
REPO="${{ github.repository }}"
LINK="https://github.com/$REPO/actions/runs/${{ github.run_id }}"
PAYLOAD="{\"workflow\": \"${{ github.workflow }}\", \"status\": \"${{ job.status }}\", \"message\": \"$MESSAGE\", \"link\": \"$LINK\", \"repository\": \"$REPO\"}"
curl -X POST -H "Content-Type: application/json" -d "$PAYLOAD" ${{ secrets.SLACK_NOTIFICATION_WEBHOOK }}
- name: Slack Notification (Error)
if: github.event_name == 'push' && failure()
run: |
MESSAGE="${{ github.repository }} :: '${{ github.workflow }}/${{ github.job }}' job FAILED!"
REPO="${{ github.repository }}"
LINK="https://github.com/$REPO/actions/runs/${{ github.run_id }}"
PAYLOAD="{\"workflow\": \"${{ github.workflow }}\", \"status\": \"${{ job.status }}\", \"message\": \"$MESSAGE\", \"link\": \"$LINK\", \"repository\": \"$REPO\"}"
curl -X POST -H "Content-Type: application/json" -d "$PAYLOAD" ${{ secrets.SLACK_ERROR_WEBHOOK }}