Adds env arg for validate task #126
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: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' | |
java-version: '11' | |
- uses: getgauge/setup-gauge@master | |
with: | |
gauge-plugins: java, html-report, xml-report | |
- uses: gradle/gradle-build-action@v3 | |
with: | |
gradle-version: '8.7' | |
- name: Build with Gradle on ubuntu | |
if: matrix.os != 'windows-latest' | |
run: | | |
./gradlew plugin:build | |
./gradlew gaugeValidate gaugeDevRepeat | |
- name: Build with Gradle on windows | |
if: matrix.os == 'windows-latest' | |
run: | | |
.\gradlew.bat plugin:build | |
.\gradlew.bat gaugeDevRepeat |