Skip to content

Correct Gradle action usage #120

Correct Gradle action usage

Correct Gradle action usage #120

Workflow file for this run

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/actions/setup-gradle@v3
- 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