generated from actions/typescript-action
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #297 from gradle/extract-init-scripts
Extract init scripts and state tracking
- Loading branch information
Showing
14 changed files
with
360 additions
and
223 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,13 @@ | ||
rootProject.name = 'basic' | ||
plugins { | ||
id "com.gradle.enterprise" version "3.10.1" | ||
} | ||
|
||
gradleEnterprise { | ||
buildScan { | ||
termsOfServiceUrl = "https://gradle.com/terms-of-service" | ||
termsOfServiceAgree = "yes" | ||
publishAlways() | ||
uploadInBackground = false | ||
} | ||
} | ||
rootProject.name = 'groovy-dsl' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: Demo Job Summary for Gradle builds | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
|
||
env: | ||
GRADLE_BUILD_ACTION_CACHE_DEBUG_ENABLED: true | ||
|
||
jobs: | ||
run-gradle-builds: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout sources | ||
uses: actions/checkout@v2 | ||
- name: Build distribution | ||
shell: bash | ||
run: | | ||
npm install | ||
npm run build | ||
- name: Setup Gradle | ||
uses: ./ | ||
- name: Build kotlin-dsl project | ||
working-directory: .github/workflow-samples/kotlin-dsl | ||
run: ./gradlew assemble | ||
- name: Build groovy-dsl project | ||
working-directory: .github/workflow-samples/groovy-dsl | ||
run: ./gradlew assemble | ||
- name: Build kotlin-dsl project again | ||
working-directory: .github/workflow-samples/kotlin-dsl | ||
run: | | ||
./gradlew tasks --no-daemon | ||
./gradlew help check | ||
- name: Fail groovy-dsl project | ||
working-directory: .github/workflow-samples/groovy-dsl | ||
continue-on-error: true | ||
run: ./gradlew not-a-real-task |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.