Milestone repository is added unnecessarily when using a snapshot of a maintenance release #8
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
name: Build Pull Request | |
on: pull_request | |
permissions: | |
contents: read | |
jobs: | |
build: | |
name: Build pull request | |
runs-on: ubuntu-latest | |
if: ${{ github.repository == 'spring-io/initializr' }} | |
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 --batch-mode --update-snapshots verify |