mirror of
https://github.com/gradle/actions.git
synced 2026-09-10 19:28:33 +08:00
Use the root-qualified :wrapper task (#1064)
Replaces the unqualified `wrapper` task name with the root-project-qualified `:wrapper` in the two places this repo names it: - `.github/workflows/demo-job-summary.yml` — the kotlin-dsl sample invocation - `docs/wrapper-validation.md` — the guidance for regenerating an unverifiable `gradle-wrapper.jar` An unqualified `wrapper` matches the task in every project of a multi-project build. The root-qualified form is unambiguous, matches the gradle/gradle convention, and is required under Configure on Demand. Part of the org-wide rollout tracked in gradle/gradle-private#5228; original issue gradle/gradle#37761. Signed-off-by: Christoph Obexer <cobexer@gradle.com>
This commit is contained in:
@@ -46,7 +46,7 @@ jobs:
|
||||
run: |
|
||||
./gradlew tasks --no-daemon
|
||||
./gradlew help check
|
||||
./gradlew wrapper --gradle-version 8.7 --gradle-distribution-sha256-sum 544c35d6bd849ae8a5ed0bcea39ba677dc40f49df7d1835561582da2009b961d
|
||||
./gradlew :wrapper --gradle-version 8.7 --gradle-distribution-sha256-sum 544c35d6bd849ae8a5ed0bcea39ba677dc40f49df7d1835561582da2009b961d
|
||||
- name: Fail groovy-dsl project
|
||||
working-directory: .github/workflow-samples/groovy-dsl
|
||||
continue-on-error: true
|
||||
|
||||
Reference in New Issue
Block a user