Bump the dependency-updates group across 1 directory with 3 updates #346
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow will build a Java project with Maven | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven | |
name: Java CI with Maven | |
on: | |
pull_request: | |
branches: [master] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up the JDK | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '22' | |
distribution: 'temurin' | |
server-id: github | |
cache: 'maven' | |
- name: Configure Problem Matchers | |
run: | | |
echo "::add-matcher::.github/problem-matcher.json" | |
echo "::remove-matcher owner=java::" | |
- name: Build with Maven | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
SLACK_TOKEN: ${{ secrets.SLACK_TOKEN }} | |
TWITTER_TOKEN: ${{ secrets.TWITTER_TOKEN }} | |
TWITTER_SECRET: ${{ secrets.TWITTER_SECRET }} | |
TWITTER_CUSTOMER_KEY: ${{ secrets.TWITTER_CUSTOMER_KEY }} | |
TWITTER_CUSTOMER_SECRET: ${{ secrets.TWITTER_CUSTOMER_SECRET }} | |
run: mvn -B package | |
- name: Upload test report | |
uses: actions/upload-artifact@v4 | |
if: always() | |
with: | |
name: test report ${{ github.job }} | |
path: | | |
**/surefire-reports/TEST-*.xml | |
retention-days: 5 |