forked from line/armeria
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Poc/gradle/periodic cache check (#35)
* minimal impl * address comment by @ikhoon * bugfix * manually specify working directory * manually create working directory * use workflow by ge * address comments * add parameter * update location * test
- Loading branch information
Showing
1 changed file
with
44 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,44 @@ | ||
name: Periodic Gradle Build Cache Check | ||
on: | ||
push: | ||
branches: | ||
- main | ||
tags-ignore: | ||
# The release versions will be verified by 'publish-release.yml' | ||
- armeria-* | ||
pull_request: | ||
merge_group: | ||
|
||
env: | ||
LC_ALL: "en_US.UTF-8" | ||
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }} | ||
|
||
jobs: | ||
build-cache-check: | ||
if: github.repository == 'jrhee17/armeria' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- id: setup-jdk-19 | ||
name: Set up JDK 19 | ||
uses: actions/setup-java@v3 | ||
with: | ||
distribution: 'temurin' | ||
java-version: '19' | ||
|
||
- uses: gradle/gradle-enterprise-build-validation-scripts/.github/actions/gradle/download@actions-stable | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- uses: gradle/gradle-enterprise-build-validation-scripts/.github/actions/gradle/experiment-1@actions-stable | ||
with: | ||
gitRepo: https://github.com/line/armeria.git | ||
gitBranch: main | ||
tasks: build | ||
args: --parallel -Pretry=true -PfailOnPassedAfterRetry=false | ||
|
||
- uses: gradle/gradle-enterprise-build-validation-scripts/.github/actions/gradle/experiment-3@actions-stable | ||
with: | ||
gitRepo: https://github.com/line/armeria.git | ||
gitBranch: main | ||
tasks: build | ||
args: --parallel -PfailIfNotFullyCacheable=true -Pretry=true -PfailOnPassedAfterRetry=false |