Skip to content

Deploy snapshots from GitHub Actions #15

Deploy snapshots from GitHub Actions

Deploy snapshots from GitHub Actions #15

Workflow file for this run

name: Build
on:
push:
branches:
- main
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
strategy:
matrix:
runner: [ ubuntu-latest, windows-latest, macos-latest ]
name: Build (${{ matrix.runner }})
if: ${{ github.repository == 'spring-io/initializr' }}
runs-on: ${{ matrix.runner }}
steps:
- name: Check out
uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'liberica'
cache: 'maven'
- name: Build with Maven
run: ./mvnw --no-transfer-progress --batch-mode --update-snapshots verify
- name: Google Chat Notification
uses: Co-qn/google-chat-notification@3691ccf4763537d6e544bc6cdcccc1965799d056
with:
name: Build (${{ matrix.runner }})
url: ${{ secrets.GOOGLE_CHAT_WEBHOOK }}
status: ${{ job.status }}
if: always()