feat: add if to ignore harbor release result
All checks were successful
renovate / renovate (push) Successful in 58s
All checks were successful
renovate / renovate (push) Successful in 58s
This commit is contained in:
@@ -132,7 +132,7 @@ jobs:
|
|||||||
|
|
||||||
release-harbor:
|
release-harbor:
|
||||||
runs-on: ubuntu-js
|
runs-on: ubuntu-js
|
||||||
needs: [build, guarddog, semantic-release]
|
needs: [semantic-release, build, guarddog, ]
|
||||||
if: ${{ needs.semantic-release.outputs.new_release_published == 'true' }}
|
if: ${{ needs.semantic-release.outputs.new_release_published == 'true' }}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
@@ -234,8 +234,13 @@ jobs:
|
|||||||
|
|
||||||
release-gitea:
|
release-gitea:
|
||||||
runs-on: ubuntu-js
|
runs-on: ubuntu-js
|
||||||
needs: release-harbor
|
needs: [ semantic-release, build, guarddog, release-harbor ]
|
||||||
if: always()
|
if: |
|
||||||
|
always() &&
|
||||||
|
needs.semantic-release.result == 'success' &&
|
||||||
|
needs.semantic-release.outputs.new_release_published == 'true' &&
|
||||||
|
needs.build.result == 'success' &&
|
||||||
|
needs.guarddog.result == 'success'
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v6
|
uses: actions/checkout@v6
|
||||||
|
|||||||
Reference in New Issue
Block a user