diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 0984bd586ef..35812a4c239 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -5,10 +5,11 @@ on: branches: - main - jobs: + success-all-test: + uses: ./.github/workflows/ci.yml prerelease: - needs: [docarray-test, docarray-oldproto-test] + needs: [success-all-test] runs-on: ubuntu-latest steps: - uses: actions/checkout@v2.5.0 @@ -16,6 +17,7 @@ jobs: fetch-depth: 100 - name: Pre-release (.devN) run: | + echo "hello" git fetch --depth=1 origin +refs/tags/*:refs/tags/* pip install twine wheel ./scripts/release.sh @@ -46,8 +48,8 @@ jobs: run: | echo "readme_changed=true" >> $GITHUB_OUTPUT - publish-docarray-org: - needs: check-readme-modification - if: needs.check-readme-modification.outputs.readme_changed == 'true' - uses: ./.github/workflows/publish-docarray-org.yml - secrets: inherit \ No newline at end of file +# publish-docarray-org: +# needs: check-readme-modification +# if: needs.check-readme-modification.outputs.readme_changed == 'true' +# uses: ./.github/workflows/publish-docarray-org.yml +# secrets: inherit \ No newline at end of file diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0a36fdc0dcb..50bd5ed2b85 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,12 +1,14 @@ name: CI on: - push: - branches: - - main - - feat-rewrite-v2 + workflow_call: + inputs: + config-path: + type: string pull_request: types: [opened, synchronize, reopened] + + jobs: lint-ruff: