diff --git a/.github/workflows/prod.yml b/.github/workflows/prod.yml index 2e6373e..9603bb2 100644 --- a/.github/workflows/prod.yml +++ b/.github/workflows/prod.yml @@ -22,12 +22,18 @@ jobs: - name: Test custom wrapper location uses: ./ with: - build-root-directory: __tests__/samples/basic + build-root-directory: __tests__/samples/no-wrapper wrapper-directory: __tests__/samples/basic - arguments: test + arguments: help - name: Test use defined Gradle version + uses: ./ + with: + gradle-version: 6.9 + build-root-directory: __tests__/samples/no-wrapper + arguments: help + - name: Test use Gradle version alias uses: ./ with: gradle-version: rc - build-root-directory: __tests__/samples/basic - arguments: test + build-root-directory: __tests__/samples/no-wrapper + arguments: help diff --git a/__tests__/samples/no-wrapper/.gitattributes b/__tests__/samples/no-wrapper/.gitattributes new file mode 100644 index 0000000..00a51af --- /dev/null +++ b/__tests__/samples/no-wrapper/.gitattributes @@ -0,0 +1,6 @@ +# +# https://help.github.com/articles/dealing-with-line-endings/ +# +# These are explicitly windows files and should use crlf +*.bat text eol=crlf + diff --git a/__tests__/samples/no-wrapper/.gitignore b/__tests__/samples/no-wrapper/.gitignore new file mode 100644 index 0000000..1b6985c --- /dev/null +++ b/__tests__/samples/no-wrapper/.gitignore @@ -0,0 +1,5 @@ +# Ignore Gradle project-specific cache directory +.gradle + +# Ignore Gradle build output directory +build diff --git a/__tests__/samples/no-wrapper/settings.gradle b/__tests__/samples/no-wrapper/settings.gradle new file mode 100644 index 0000000..e18a8cf --- /dev/null +++ b/__tests__/samples/no-wrapper/settings.gradle @@ -0,0 +1,3 @@ +rootProject.name = 'no-wrapper' + +println "Using Gradle version: ${gradle.gradleVersion}" \ No newline at end of file