Skip to content

Commit ff3680e

Browse files
authored
ci: update publish.yml
1 parent 32d0a23 commit ff3680e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/publish.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,17 @@ on:
1818
type: boolean
1919

2020
jobs:
21+
build:
22+
uses: ./.github/workflows/build.yml
2123
publish:
24+
needs:
25+
- build
2226
runs-on: ubuntu-latest
2327
permissions:
2428
contents: write
2529
steps:
2630
- name: checkout repository
2731
uses: actions/checkout@v3.5.3
28-
- name: build
29-
uses: ./.github/workflows/build.yml
3032
- name: download build artifacts
3133
uses: actions/download-artifact@v3
3234
with:

0 commit comments

Comments
 (0)