Skip to content

Commit 32070a4

Browse files
committed
ci: fix job dependencies
1 parent 6cdb74c commit 32070a4

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

.github/workflows/release.yaml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,9 @@ jobs:
162162
if-no-files-found: error
163163

164164
release:
165-
needs: [init, build]
165+
needs:
166+
- init
167+
- build
166168
runs-on: ubuntu-latest
167169
steps:
168170
- name: Setup | Checkout
@@ -210,14 +212,18 @@ jobs:
210212
run: cargo publish --token ${{ secrets.CRATES_IO_TOKEN }}
211213

212214
pages:
213-
needs: publish
214-
if: steps.state.outputs.prerelease == "false"
215+
needs:
216+
- init
217+
- publish
218+
if: needs.init.outputs.prerelease == "false"
215219
uses: ./.github/workflows/pages.yaml
216220

217221
brew:
218-
needs: publish
222+
needs:
223+
- init
224+
- publish
219225
runs-on: ubuntu-latest
220-
if: steps.state.outputs.prerelease == "false"
226+
if: needs.init.outputs.prerelease == "false"
221227

222228
steps:
223229
- uses: mislav/bump-homebrew-formula-action@v3

0 commit comments

Comments
 (0)