Updates plugin portal badge (#85) #115
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@v3 | |
with: | |
distribution: 'temurin' | |
java-version: '11' | |
- uses: getgauge/setup-gauge@master | |
with: | |
gauge-plugins: java, html-report, xml-report | |
- uses: gradle/gradle-build-action@v2 | |
with: | |
gradle-version: '8.2' | |
- 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 |