This is an automated email from the ASF dual-hosted git repository.
tison pushed a commit to branch unstable
in repository https://gitbox.apache.org/repos/asf/incubator-kvrocks.git
The following commit(s) were added to refs/heads/unstable by this push:
new eaf04714 ci: fix needs param (#1427)
eaf04714 is described below
commit eaf0471494ee69a45f27b1abdcf5c47138d99355
Author: tison <[email protected]>
AuthorDate: Sat May 6 19:04:21 2023 +0800
ci: fix needs param (#1427)
Signed-off-by: tison <[email protected]>
---
.github/config/changes.yml | 2 +-
.github/workflows/kvrocks.yaml | 7 ++++---
2 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/.github/config/changes.yml b/.github/config/changes.yml
index f556a862..46de2f26 100644
--- a/.github/config/changes.yml
+++ b/.github/config/changes.yml
@@ -24,6 +24,6 @@ docs:
- 'assets/**'
- 'licenses/**'
- '.asf.yaml'
- - '.github/changes.yaml'
+ - '.github/config/changes.yml'
- '.gitignore'
- 'NOTICE'
diff --git a/.github/workflows/kvrocks.yaml b/.github/workflows/kvrocks.yaml
index 225ffd64..505e39ea 100644
--- a/.github/workflows/kvrocks.yaml
+++ b/.github/workflows/kvrocks.yaml
@@ -52,9 +52,9 @@ jobs:
check-and-lint:
name: Lint and check code
+ needs: [precondition]
if: ${{ needs.precondition.outputs.docs_only != 'true' }}
runs-on: ubuntu-22.04
- needs: [precondition]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
@@ -91,8 +91,8 @@ jobs:
build-and-test:
name: Build and test
+ needs: [precondition, check-and-lint]
if: ${{ needs.precondition.outputs.docs_only != 'true' }}
- needs: [check-and-lint]
strategy:
fail-fast: false
matrix:
@@ -279,8 +279,8 @@ jobs:
check-docker:
name: Check Docker image
+ needs: [precondition, check-and-lint]
if: ${{ needs.precondition.outputs.docs_only != 'true' }}
- needs: [check-and-lint]
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
@@ -296,6 +296,7 @@ jobs:
name: Required
runs-on: ubuntu-latest
needs:
+ - precondition
- build-and-test
- check-docker
steps: