Skip to content

Commit 526859e

Browse files
committed
chore: Update OpenAPI spec build workflow
1 parent 0fc38cc commit 526859e

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

.github/workflows/common/openapi-build/action.yaml

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
name: Build and Publish OpenAPI UI
2+
description: "Build and publish OpenAPI UI for a service"
23

3-
on:
4-
workflow_call:
5-
inputs:
6-
service:
7-
required: true
8-
type: string
4+
inputs:
5+
service:
6+
description: "The name of the service to build OpenAPI UI for"
7+
required: true
8+
type: string
99

1010
runs:
1111
using: "composite"

.github/workflows/deploy-gh-pages.yaml

+7-7
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
# Upload the mdBook output to GitHub Pages
4848
- name: Upload mdbook to GitHub Pages
4949
if: matrix.service == 'account' # Only upload mdbook once
50-
uses: actions/upload-artifact@v3
50+
uses: actions/upload-artifact@v4
5151
with:
5252
name: mdbook
5353
path: ./docs/book
@@ -59,7 +59,7 @@ jobs:
5959
service: ${{ matrix.service }}
6060

6161
- name: Upload OpenAPI UI to GitHub Pages
62-
uses: actions/upload-pages-artifact@v3
62+
uses: actions/upload-pages-artifact@v4
6363
with:
6464
name: openapi-${{ matrix.service }}
6565
path: ./docs/${{ matrix.service }}
@@ -76,31 +76,31 @@ jobs:
7676
uses: actions/checkout@v4
7777

7878
- name: Download mdbook artifact
79-
uses: actions/download-artifact@v3
79+
uses: actions/download-artifact@v4
8080
with:
8181
name: mdbook
8282
path: ./docs/book
8383

8484
- name: Download account OpenAPI artifacts
85-
uses: actions/download-artifact@v3
85+
uses: actions/download-artifact@v4
8686
with:
8787
name: openapi-account
8888
path: ./docs/account
8989

9090
- name: Download content-watcher OpenAPI artifacts
91-
uses: actions/download-artifact@v3
91+
uses: actions/download-artifact@v4
9292
with:
9393
name: openapi-content-watcher
9494
path: ./docs/content-watcher
9595

9696
- name: Download content-publishing OpenAPI artifacts
97-
uses: actions/download-artifact@v3
97+
uses: actions/download-artifact@v4
9898
with:
9999
name: openapi-content-publishing
100100
path: ./docs/content-publishing
101101

102102
- name: Download graph OpenAPI artifacts
103-
uses: actions/download-artifact@v3
103+
uses: actions/download-artifact@v4
104104
with:
105105
name: openapi-graph
106106
path: ./docs/graph

0 commit comments

Comments
 (0)