diff --git a/.github/workflows/gradle-cache-check.yml b/.github/workflows/gradle-cache-check.yml index fbd7fe86758c..c612cce8b7f9 100644 --- a/.github/workflows/gradle-cache-check.yml +++ b/.github/workflows/gradle-cache-check.yml @@ -1,7 +1,16 @@ 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" @@ -9,8 +18,8 @@ env: 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 diff --git a/docs-client/build.gradle b/docs-client/build.gradle index 54c5f7335b9b..6dac98d9c6db 100644 --- a/docs-client/build.gradle +++ b/docs-client/build.gradle @@ -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) {