-
Notifications
You must be signed in to change notification settings - Fork 873
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add building gradle-plugins to GHA workflows (#3951)
* Add building gradle-plugins to GHA workflows * Fix nightly-no-cache * Fix yaml * Fix * Add --no-build-cache for nightly-no-cache * Sync
- Loading branch information
Showing
8 changed files
with
112 additions
and
18 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 |
---|---|---|
|
@@ -16,7 +16,7 @@ jobs: | |
with: | ||
fetch-depth: 0 | ||
|
||
- name: Set up JDK 11 for running checks | ||
- name: Set up JDK 11 for running Gradle | ||
uses: actions/setup-java@v2 | ||
with: | ||
distribution: adopt | ||
|
@@ -39,6 +39,29 @@ jobs: | |
S3_BUILD_CACHE_SECRET_KEY: ${{ secrets.S3_BUILD_CACHE_SECRET_KEY }} | ||
run: ./gradlew build --stacktrace | ||
|
||
build-gradle-plugins: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected] | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Set up JDK 11 for running Gradle | ||
uses: actions/setup-java@v2 | ||
with: | ||
distribution: adopt | ||
java-version: 11 | ||
|
||
- name: Cache Gradle Wrapper | ||
uses: actions/cache@v2 | ||
with: | ||
path: ~/.gradle/wrapper | ||
key: ${{ runner.os }}-gradle-wrapper-cache-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties') }} | ||
|
||
- name: Build | ||
run: ../gradlew build --stacktrace | ||
working-directory: gradle-plugins | ||
|
||
test: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
|
@@ -94,7 +117,7 @@ jobs: | |
with: | ||
fetch-depth: 0 | ||
|
||
- name: Set up JDK 11 | ||
- name: Set up JDK 11 for running Gradle | ||
uses: actions/setup-java@v2 | ||
with: | ||
distribution: adopt | ||
|
@@ -238,7 +261,7 @@ jobs: | |
with: | ||
fetch-depth: 0 | ||
|
||
- name: Set up JDK 11 for running checks | ||
- name: Set up JDK 11 for running Gradle | ||
uses: actions/setup-java@v2 | ||
with: | ||
distribution: adopt | ||
|
@@ -269,7 +292,7 @@ jobs: | |
with: | ||
fetch-depth: 0 | ||
|
||
- name: Set up JDK 11 for running checks | ||
- name: Set up JDK 11 for running Gradle | ||
uses: actions/setup-java@v2 | ||
with: | ||
distribution: adopt | ||
|
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
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
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 |
---|---|---|
|
@@ -14,7 +14,7 @@ jobs: | |
with: | ||
fetch-depth: 0 | ||
|
||
- name: Set up JDK 11 for running checks | ||
- name: Set up JDK 11 for running Gradle | ||
uses: actions/setup-java@v2 | ||
with: | ||
distribution: adopt | ||
|
@@ -29,6 +29,29 @@ jobs: | |
- name: Build | ||
run: ./gradlew build --stacktrace --no-build-cache | ||
|
||
build-gradle-plugins: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected] | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Set up JDK 11 for running Gradle | ||
uses: actions/setup-java@v2 | ||
with: | ||
distribution: adopt | ||
java-version: 11 | ||
|
||
- name: Cache Gradle Wrapper | ||
uses: actions/cache@v2 | ||
with: | ||
path: ~/.gradle/wrapper | ||
key: ${{ runner.os }}-gradle-wrapper-cache-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties') }} | ||
|
||
- name: Build | ||
run: ../gradlew build --stacktrace --no-build-cache | ||
working-directory: gradle-plugins | ||
|
||
test: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
|
@@ -75,7 +98,7 @@ jobs: | |
with: | ||
fetch-depth: 0 | ||
|
||
- name: Set up JDK 11 | ||
- name: Set up JDK 11 for running Gradle | ||
uses: actions/setup-java@v2 | ||
with: | ||
distribution: adopt | ||
|
@@ -140,7 +163,7 @@ jobs: | |
with: | ||
fetch-depth: 0 | ||
|
||
- name: Set up JDK 11 for running checks | ||
- name: Set up JDK 11 for running Gradle | ||
uses: actions/setup-java@v2 | ||
with: | ||
distribution: adopt | ||
|
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 |
---|---|---|
|
@@ -14,7 +14,7 @@ jobs: | |
with: | ||
fetch-depth: 0 | ||
|
||
- name: Set up JDK 11 for running checks | ||
- name: Set up JDK 11 for running Gradle | ||
uses: actions/setup-java@v2 | ||
with: | ||
distribution: adopt | ||
|
@@ -37,6 +37,29 @@ jobs: | |
S3_BUILD_CACHE_SECRET_KEY: ${{ secrets.S3_BUILD_CACHE_SECRET_KEY }} | ||
run: ./gradlew build --stacktrace | ||
|
||
build-gradle-plugins: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected] | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Set up JDK 11 for running Gradle | ||
uses: actions/setup-java@v2 | ||
with: | ||
distribution: adopt | ||
java-version: 11 | ||
|
||
- name: Cache Gradle Wrapper | ||
uses: actions/cache@v2 | ||
with: | ||
path: ~/.gradle/wrapper | ||
key: ${{ runner.os }}-gradle-wrapper-cache-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties') }} | ||
|
||
- name: Build | ||
run: ../gradlew build --stacktrace | ||
working-directory: gradle-plugins | ||
|
||
test: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
|
@@ -92,7 +115,7 @@ jobs: | |
with: | ||
fetch-depth: 0 | ||
|
||
- name: Set up JDK 11 | ||
- name: Set up JDK 11 for running Gradle | ||
uses: actions/setup-java@v2 | ||
with: | ||
distribution: adopt | ||
|
@@ -236,7 +259,7 @@ jobs: | |
with: | ||
fetch-depth: 0 | ||
|
||
- name: Set up JDK 11 for running checks | ||
- name: Set up JDK 11 for running Gradle | ||
uses: actions/setup-java@v2 | ||
with: | ||
distribution: adopt | ||
|
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
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 |
---|---|---|
|
@@ -14,7 +14,7 @@ jobs: | |
with: | ||
fetch-depth: 0 | ||
|
||
- name: Set up JDK 11 for running checks | ||
- name: Set up JDK 11 for running Gradle | ||
uses: actions/setup-java@v2 | ||
with: | ||
distribution: adopt | ||
|
@@ -53,6 +53,29 @@ jobs: | |
path: "**/javacore.*.txt" | ||
if-no-files-found: ignore | ||
|
||
build-gradle-plugins: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected] | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Set up JDK 11 for running Gradle | ||
uses: actions/setup-java@v2 | ||
with: | ||
distribution: adopt | ||
java-version: 11 | ||
|
||
- name: Cache Gradle Wrapper | ||
uses: actions/cache@v2 | ||
with: | ||
path: ~/.gradle/wrapper | ||
key: ${{ runner.os }}-gradle-wrapper-cache-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties') }} | ||
|
||
- name: Build | ||
run: ../gradlew build --stacktrace | ||
working-directory: gradle-plugins | ||
|
||
test: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
|
@@ -237,7 +260,7 @@ jobs: | |
with: | ||
fetch-depth: 0 | ||
|
||
- name: Set up JDK 11 for running checks | ||
- name: Set up JDK 11 for running Gradle | ||
uses: actions/setup-java@v2 | ||
with: | ||
distribution: adopt | ||
|
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