Making SSH Nodes work both on Linux and Windows based systems #4
Workflow file for this run
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 on Ubuntu | |
on: | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
build: | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '21' | |
distribution: 'temurin' | |
cache: maven | |
- name: Install Maven | |
run: | | |
curl -s -S -o ./apache-maven-3.9.9-bin.zip https://dlcdn.apache.org/maven/maven-3/3.9.9/binaries/apache-maven-3.9.9-bin.zip | |
unzip -q ./apache-maven-3.9.9-bin.zip | |
- name: Build with Maven | |
# qa skips documentation - we check it on Jenkins CI | |
# We skip checkstyle too - we check it on Jenkins CI | |
run: ./apache-maven-3.9.9/bin/mvn -B -e -ntp validate -Pstaging -Pqa '-Dcheckstyle.skip=true' | |