Commit f0c6ac01 authored by Daz DeBoer's avatar Daz DeBoer
Browse files

Add test for `gradle-executable` parameter

Use matrix to allow different script suffix on windows
parent 63fea55d
Loading
Loading
Loading
Loading
+9
Changes for .github/workflows/prod.yml: 9 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -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