From 62f99d8a8d4470520f9204608af47f9162c909e8 Mon Sep 17 00:00:00 2001 From: Sophie Schoenmeyer <107952697+sophies927@users.noreply.github.com> Date: Tue, 22 Oct 2024 09:21:27 -0700 Subject: [PATCH] Change API docs schedule from monthly to every 2 weeks (#22524) ### Description Current API docs workflows are scheduled to run monthly, but artifacts expire after 30 days, which could create issues for 31-day months. Updating to regenerate artifacts every 2 weeks. ### 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 6c4dc43847d..72e69f6117c 100644 --- a/.github/workflows/publish-c-apidocs.yml +++ b/.github/workflows/publish-c-apidocs.yml @@ -9,7 +9,7 @@ on: - include/onnxruntime/core/session/** - orttraining/orttraining/training_api/include/** schedule: - - cron: '0 0 1 * *' + - cron: '0 0 1,15 * *' workflow_dispatch: concurrency: diff --git a/.github/workflows/publish-csharp-apidocs.yml b/.github/workflows/publish-csharp-apidocs.yml index 862a7a70e33..81ba703e8d5 100644 --- a/.github/workflows/publish-csharp-apidocs.yml +++ b/.github/workflows/publish-csharp-apidocs.yml @@ -8,7 +8,7 @@ on: paths: - csharp/** schedule: - - cron: '0 0 1 * *' + - cron: '0 0 1,15 * *' workflow_dispatch: concurrency: diff --git a/.github/workflows/publish-java-apidocs.yml b/.github/workflows/publish-java-apidocs.yml index 9e42dca708a..bed96b1be70 100644 --- a/.github/workflows/publish-java-apidocs.yml +++ b/.github/workflows/publish-java-apidocs.yml @@ -8,7 +8,7 @@ on: paths: - java/** schedule: - - cron: '0 0 1 * *' + - cron: '0 0 1,15 * *' workflow_dispatch: concurrency: diff --git a/.github/workflows/publish-js-apidocs.yml b/.github/workflows/publish-js-apidocs.yml index cec4a52d39c..7af635f3eb5 100644 --- a/.github/workflows/publish-js-apidocs.yml +++ b/.github/workflows/publish-js-apidocs.yml @@ -8,7 +8,7 @@ on: paths: - js/common/** schedule: - - cron: '0 0 1 * *' + - cron: '0 0 1,15 * *' workflow_dispatch: concurrency: diff --git a/.github/workflows/publish-objectivec-apidocs.yml b/.github/workflows/publish-objectivec-apidocs.yml index a8b81c8d5cf..deef64f73f1 100644 --- a/.github/workflows/publish-objectivec-apidocs.yml +++ b/.github/workflows/publish-objectivec-apidocs.yml @@ -8,7 +8,7 @@ on: paths: - objectivec/** schedule: - - cron: '0 0 1 * *' + - cron: '0 0 1,15 * *' workflow_dispatch: concurrency: diff --git a/.github/workflows/publish-python-apidocs.yml b/.github/workflows/publish-python-apidocs.yml index 8b2f72d80ba..352fd3e948b 100644 --- a/.github/workflows/publish-python-apidocs.yml +++ b/.github/workflows/publish-python-apidocs.yml @@ -9,7 +9,7 @@ on: - onnxruntime/python/** - docs/python/** schedule: - - cron: '0 0 1 * *' + - cron: '0 0 1,15 * *' workflow_dispatch: concurrency: