diff --git a/.github/workflows/pre-release-base.yml b/.github/workflows/pre-release-base.yml index a5aae652d..ac2a29a94 100644 --- a/.github/workflows/pre-release-base.yml +++ b/.github/workflows/pre-release-base.yml @@ -31,8 +31,6 @@ jobs: with: python-version: "3.10" cache: "poetry" - - name: Build project for distribution - run: make build base=true - name: Check Version id: check-version # In this step, we should check the version of the package @@ -50,6 +48,8 @@ jobs: else echo version=$version >> $GITHUB_OUTPUT fi + - name: Build project for distribution + run: make build base=true - name: Publish to PyPI env: diff --git a/.github/workflows/pre-release-langflow.yml b/.github/workflows/pre-release-langflow.yml index 2d47250ce..11f894e1a 100644 --- a/.github/workflows/pre-release-langflow.yml +++ b/.github/workflows/pre-release-langflow.yml @@ -35,8 +35,6 @@ jobs: with: python-version: "3.10" cache: "poetry" - - name: Build project for distribution - run: make build main=true - name: Check Version id: check-version run: | @@ -48,6 +46,8 @@ jobs: else echo version=$version >> $GITHUB_OUTPUT fi + - name: Build project for distribution + run: make build main=true - name: Display pyproject.toml langflow-base Version run: cat pyproject.toml | grep langflow-base - name: Publish to PyPI