Skip to content

Commit

Permalink
asdf
Browse files Browse the repository at this point in the history
  • Loading branch information
jrhee17 committed Sep 6, 2023
1 parent 9504c81 commit 191fc43
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 5 deletions.
19 changes: 14 additions & 5 deletions .github/workflows/gradle-cache-check.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,25 @@
name: Periodic Gradle Build Cache Check
#on:
# schedule:
# - cron: '0 01 * * 1'
on:
schedule:
- cron: '0 01 * * 1'
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 == 'line/armeria'
runs-on: self-hosted
if: github.repository == 'jrhee17/armeria'
runs-on: ubuntu-latest
steps:
- id: setup-jdk-19
name: Set up JDK 19
Expand All @@ -31,7 +40,7 @@ jobs:
working-directory: scripts/gradle-enterprise-gradle-build-validation
run: |
./03-validate-local-build-caching-different-locations.sh -f \
-r https://github.com/line/armeria.git -t build \
-r https://github.com/line/armeria.git -t buildWeb \
-a --parallel\ -Pretry=true\ -PfailOnPassedAfterRetry=false
- name: Summarize result
Expand Down
1 change: 1 addition & 0 deletions docs-client/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ task buildWeb(type: NpmTask) {
inputs.dir('src')
inputs.files('package.json', 'package-lock.json')
outputs.dir('build/web')
outputs.cacheIf {true}
}

task copyWeb(type: Copy) {
Expand Down

0 comments on commit 191fc43

Please sign in to comment.