From f0c6ac01d3b0a97b6038bbec4c0a362f5da4cf1b Mon Sep 17 00:00:00 2001 From: Daz DeBoer Date: Thu, 24 Jun 2021 11:51:43 -0700 Subject: [PATCH] Add test for `gradle-executable` parameter Use matrix to allow different script suffix on windows --- .github/workflows/prod.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/prod.yml b/.github/workflows/prod.yml index 9603bb2..9fb1654 100644 --- a/.github/workflows/prod.yml +++ b/.github/workflows/prod.yml @@ -10,6 +10,9 @@ jobs: strategy: matrix: os: [ubuntu-latest, macos-latest, windows-latest] + include: + - os: windows-latest + script-suffix: '.bat' runs-on: ${{ matrix.os }} steps: - name: Checkout sources @@ -37,3 +40,9 @@ jobs: gradle-version: rc build-root-directory: __tests__/samples/no-wrapper arguments: help + - name: Test use defined Gradle executable + uses: ./ + with: + gradle-executable: __tests__/samples/basic/gradlew${{ matrix.script-suffix }} + build-root-directory: __tests__/samples/no-wrapper + arguments: help