mirror of
https://github.com/gradle/actions.git
synced 2025-11-26 17:09:10 +08:00
Only process build results once (#133)
On long-lived machines, it's possible that the `.build-results` directory isn't cleared between invocations. This will result in the job summary including results from previous jobs. By marking each build-results file as 'processed' at the end of the job, we can avoid this scenario.
This commit is contained in:
4
.github/workflows/demo-job-summary.yml
vendored
4
.github/workflows/demo-job-summary.yml
vendored
@@ -16,6 +16,10 @@ jobs:
|
||||
npm install
|
||||
npm run build
|
||||
working-directory: sources
|
||||
- uses: actions/setup-java@v4
|
||||
with:
|
||||
distribution: 'temurin'
|
||||
java-version: '11'
|
||||
- name: Setup Gradle
|
||||
uses: ./setup-gradle
|
||||
- name: Build kotlin-dsl project
|
||||
|
||||
Reference in New Issue
Block a user