TEMP commit to trigger CI #26
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: WildFly Build | |
on: | |
pull_request: | |
branches: | |
- '**' | |
paths: | |
- "**/pom.xml" | |
# Only run the latest job | |
concurrency: | |
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}' | |
cancel-in-progress: true | |
jobs: | |
quick-build: | |
name: WildFly Build -Dquickly | |
runs-on: ubuntu-latest | |
timeout-minutes: 60 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: 17 | |
distribution: 'temurin' | |
cache: 'maven' | |
- name: Clear any possible SNAPSHOT dependencies in the local maven repository | |
run: | | |
LOCAL_REPO="$HOME/.m2/repository" | |
echo "Cleaning SNAPSHOTS from $LOCAL_REPO" | |
if [ -d "$LOCAL_REPO" ]; then find "$LOCAL_REPO" -name "*SNAPSHOT*" | xargs -I {} rm -rfv "{}"; fi | |
shell: bash | |
- name: Build with Maven Java 17 -Dquickly | |
run: mvn -U -B -Dquickly |