Skip to content

Commit

Permalink
Decrease API docs artifact retention days (#22003)
Browse files Browse the repository at this point in the history
### 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
<!-- - Why is this change required? What problem does it solve?
- If it fixes an open issue, please link to the issue here. -->
  • Loading branch information
sophies927 committed Sep 10, 2024
1 parent 7489bfe commit e7107f4
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish-c-apidocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,4 @@ jobs:
with:
name: onnxruntime-c-apidocs
path: _site
retention-days: 60
retention-days: 30
2 changes: 1 addition & 1 deletion .github/workflows/publish-csharp-apidocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,4 @@ jobs:
with:
name: onnxruntime-csharp-apidocs
path: _site
retention-days: 60
retention-days: 30
2 changes: 1 addition & 1 deletion .github/workflows/publish-java-apidocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@ jobs:
with:
name: onnxruntime-java-apidocs
path: _site
retention-days: 60
retention-days: 30
2 changes: 1 addition & 1 deletion .github/workflows/publish-js-apidocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@ jobs:
with:
name: onnxruntime-node-apidocs
path: _site
retention-days: 60
retention-days: 30
2 changes: 1 addition & 1 deletion .github/workflows/publish-objectivec-apidocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,4 @@ jobs:
with:
name: onnxruntime-objectivec-apidocs
path: ./_site
retention-days: 60
retention-days: 30
2 changes: 1 addition & 1 deletion .github/workflows/publish-python-apidocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,4 @@ jobs:
with:
name: onnxruntime-python-apidocs
path: _site
retention-days: 60
retention-days: 30

0 comments on commit e7107f4

Please sign in to comment.