mirror of
https://github.com/gradle/gradle-build-action.git
synced 2025-05-02 12:48:36 +02:00
Look for gradle wrapper in build-root-directory by default
This removes the need to specify `wrapper-directory` when using a Gradle project that is not located in the root of the workspace. Fixes #44.
This commit is contained in:
parent
13d33a88ca
commit
18c8a679dc
3 changed files with 23 additions and 9 deletions
9
.github/workflows/prod.yml
vendored
9
.github/workflows/prod.yml
vendored
|
@ -17,11 +17,18 @@ jobs:
|
|||
- name: Test wrapper
|
||||
uses: ./
|
||||
with:
|
||||
wrapper-directory: __tests__/data/basic
|
||||
build-root-directory: __tests__/data/basic
|
||||
dependencies-cache-enabled: true
|
||||
configuration-cache-enabled: true
|
||||
arguments: test
|
||||
- name: Test custom wrapper location
|
||||
uses: ./
|
||||
with:
|
||||
build-root-directory: __tests__/data/basic
|
||||
wrapper-directory: __tests__/data/basic
|
||||
dependencies-cache-enabled: false
|
||||
configuration-cache-enabled: false
|
||||
arguments: test
|
||||
- name: Test dist download
|
||||
uses: ./
|
||||
with:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue