From e7107f41de9cbd4325150b6bafcbc7485059afbb Mon Sep 17 00:00:00 2001 From: Sophie Schoenmeyer <107952697+sophies927@users.noreply.github.com> Date: Tue, 10 Sep 2024 10:44:08 -0700 Subject: [PATCH] Decrease API docs artifact retention days (#22003) ### Description When API docs workflows fail, we typically don't catch the issue until the most recently generated artifact expires. The current artifact retention is 60 days, so by decreasing to 30 days, we can ensure that we're resolving the workflow failures more quickly. ### Motivation and Context --- .github/workflows/publish-c-apidocs.yml | 2 +- .github/workflows/publish-csharp-apidocs.yml | 2 +- .github/workflows/publish-java-apidocs.yml | 2 +- .github/workflows/publish-js-apidocs.yml | 2 +- .github/workflows/publish-objectivec-apidocs.yml | 2 +- .github/workflows/publish-python-apidocs.yml | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/publish-c-apidocs.yml b/.github/workflows/publish-c-apidocs.yml index b097cdbd9a55c..6c4dc43847d0b 100644 --- a/.github/workflows/publish-c-apidocs.yml +++ b/.github/workflows/publish-c-apidocs.yml @@ -49,4 +49,4 @@ jobs: with: name: onnxruntime-c-apidocs path: _site - retention-days: 60 + retention-days: 30 diff --git a/.github/workflows/publish-csharp-apidocs.yml b/.github/workflows/publish-csharp-apidocs.yml index 02aa053365790..862a7a70e33a2 100644 --- a/.github/workflows/publish-csharp-apidocs.yml +++ b/.github/workflows/publish-csharp-apidocs.yml @@ -59,4 +59,4 @@ jobs: with: name: onnxruntime-csharp-apidocs path: _site - retention-days: 60 + retention-days: 30 diff --git a/.github/workflows/publish-java-apidocs.yml b/.github/workflows/publish-java-apidocs.yml index 3e553049a186e..9e42dca708a17 100644 --- a/.github/workflows/publish-java-apidocs.yml +++ b/.github/workflows/publish-java-apidocs.yml @@ -47,4 +47,4 @@ jobs: with: name: onnxruntime-java-apidocs path: _site - retention-days: 60 + retention-days: 30 diff --git a/.github/workflows/publish-js-apidocs.yml b/.github/workflows/publish-js-apidocs.yml index db021106a6554..cec4a52d39c93 100644 --- a/.github/workflows/publish-js-apidocs.yml +++ b/.github/workflows/publish-js-apidocs.yml @@ -47,4 +47,4 @@ jobs: with: name: onnxruntime-node-apidocs path: _site - retention-days: 60 + retention-days: 30 diff --git a/.github/workflows/publish-objectivec-apidocs.yml b/.github/workflows/publish-objectivec-apidocs.yml index ebacd38f1f882..a8b81c8d5cf84 100644 --- a/.github/workflows/publish-objectivec-apidocs.yml +++ b/.github/workflows/publish-objectivec-apidocs.yml @@ -48,4 +48,4 @@ jobs: with: name: onnxruntime-objectivec-apidocs path: ./_site - retention-days: 60 + retention-days: 30 diff --git a/.github/workflows/publish-python-apidocs.yml b/.github/workflows/publish-python-apidocs.yml index e98d22450c5b0..8b2f72d80bacf 100644 --- a/.github/workflows/publish-python-apidocs.yml +++ b/.github/workflows/publish-python-apidocs.yml @@ -53,4 +53,4 @@ jobs: with: name: onnxruntime-python-apidocs path: _site - retention-days: 60 + retention-days: 30