Skip to content

Commit

Permalink
workflow_run syntax changes
Browse files Browse the repository at this point in the history
Signed-off-by: Simon Dudley <[email protected]>
  • Loading branch information
siladu committed Apr 24, 2024
1 parent e12808a commit 61d04d5
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: docker test
name: docker
on:
release:
types:
Expand Down
12 changes: 8 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,19 @@
name: release besu
on:
workflow_run:
workflows: ["docker test"]
types:
- completed
workflows: [docker]
types: [completed]
env:
registry: docker.io
jobs:
dockerPromoteX64:
# "released" === draft: false && prerelease: false
if: ${{ github.event.workflow_run.conclusion == 'success' && github.event.release.draft == false && github.event.release.prerelease == false }}
if: >-
${{
github.event.workflow_run.conclusion == 'success'
&& github.event.release.draft == false
&& github.event.release.prerelease == false
}}
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
Expand Down

0 comments on commit 61d04d5

Please sign in to comment.