Skip to content

Commit bbf1118

Browse files
committed
Fix Workflow Yet Yet Again
1 parent 42a31c5 commit bbf1118

File tree

1 file changed

+21
-7
lines changed

1 file changed

+21
-7
lines changed

.github/workflows/release.yaml

Lines changed: 21 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@ jobs:
2727
with:
2828
generator: html
2929
openapi-url: "https://raw.githubusercontent.com/unikorn-cloud/${{ matrix.component }}/refs/heads/main/pkg/openapi/server.spec.yaml"
30-
command-args: -o ${{ matrix.component }}
30+
command-args: -o artifact
3131
- name: upload-artifact
3232
uses: actions/upload-artifact@v4
3333
with:
3434
name: docs-component-${{ matrix.component }}
35-
path: ${{ matrix.component }}
35+
path: artifact
3636
deploy:
3737
runs-on: ubuntu-latest
3838
permissions:
@@ -43,13 +43,27 @@ jobs:
4343
- build
4444
steps:
4545
- name: make-root
46-
run: mkdir root
47-
- name: download-artifacts
46+
run: mkdir -p root/{identity,region,compute,kubernetes}
47+
- name: download-identity-artifact
4848
uses: actions/download-artifact@v4
4949
with:
50-
pattern: docs-component-*
51-
merge-multiple: true
52-
path: root
50+
pattern: docs-component-identity
51+
path: root/identity
52+
- name: download-region-artifact
53+
uses: actions/download-artifact@v4
54+
with:
55+
pattern: docs-component-region
56+
path: root/region
57+
- name: download-kubernetes-artifact
58+
uses: actions/download-artifact@v4
59+
with:
60+
pattern: docs-component-kubernetes
61+
path: root/kubernetes
62+
- name: download-compute-artifact
63+
uses: actions/download-artifact@v4
64+
with:
65+
pattern: docs-component-compute
66+
path: root/compute
5367
- name: upload-artifact
5468
uses: actions/upload-artifact@v4
5569
with:

0 commit comments

Comments
 (0)