diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7a4a4bb9651b..9c3f1be562d5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -302,8 +302,12 @@ jobs: release-cn-artifacts: name: Release artifacts to CN region if: ${{ inputs.release_images || github.event_name == 'push' || github.event_name == 'schedule' }} - needs: [ + needs: [ # The job have to wait for all the artifacts are built. allocate-runners, + build-linux-amd64-artifacts, + build-linux-arm64-artifacts, + build-macos-artifacts, + build-windows-artifacts, release-images-to-dockerhub, ] runs-on: ubuntu-20.04 @@ -338,11 +342,12 @@ jobs: publish-github-release: name: Create GitHub release and upload artifacts if: ${{ inputs.publish_github_release || github.event_name == 'push' || github.event_name == 'schedule' }} - needs: [ + needs: [ # The job have to wait for all the artifacts are built. allocate-runners, build-linux-amd64-artifacts, build-linux-arm64-artifacts, build-macos-artifacts, + build-windows-artifacts, release-images-to-dockerhub, ] runs-on: ubuntu-20.04