ci: small nightly fixes (#3993)

* Add back correct checkout steps

* fix directory
This commit is contained in:
Jordan Frazier 2024-10-02 09:36:55 -07:00 committed by GitHub
commit 06eebb5ca8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 11 additions and 7 deletions

View file

@ -24,11 +24,14 @@ jobs:
main_tag: ${{ steps.generate_main_tag.outputs.main_tag }}
base_tag: ${{ steps.set_base_tag.outputs.base_tag }}
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
persist-credentials: true
- name: "Setup Environment"
uses: ./.github/actions/setup-uv
with:
ref: ${{ github.ref }}
- name: Install the project
run: uv sync --dev
@ -83,8 +86,9 @@ jobs:
uv run ./scripts/ci/update_pyproject_version.py $MAIN_TAG main
uv run ./scripts/ci/update_pyproject_name.py langflow-nightly main
uv run ./scripts/ci/update_uv_dependency.py $BASE_TAG
uv lock
cd src/backend/base && uv lock
cd src/backend/base && uv lock && cd ../../..
git add pyproject.toml src/backend/base/pyproject.toml uv.lock src/backend/base/uv.lock
git commit -m "Update version and project name"

View file

@ -117,7 +117,6 @@ jobs:
uses: actions/checkout@v4
with:
ref: ${{ inputs.ref || github.ref }}
persist-credentials: true
- name: "Setup Environment"
uses: ./.github/actions/setup-uv
with:

View file

@ -56,6 +56,8 @@ jobs:
version: ${{ steps.check-version.outputs.version }}
skipped: ${{ steps.check-version.outputs.skipped }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Environment
uses: ./.github/workflows/setup-uv.yml
with:
@ -116,6 +118,8 @@ jobs:
outputs:
version: ${{ steps.check-version.outputs.version }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Environment
uses: ./.github/workflows/setup-uv.yml
with:

View file

@ -137,7 +137,7 @@ jobs:
- name: Check out the code at a specific ref
uses: actions/checkout@v4
with:
ref: ${{ inputs.ref }}
ref: ${{ inputs.nightly_tag_main}}
persist-credentials: true
- name: "Setup Environment"
uses: ./.github/actions/setup-uv

View file

@ -19,9 +19,6 @@ jobs:
steps:
- name: Check out the code at a specific ref
uses: actions/checkout@v4
with:
ref: ${{ github.ref }}
persist-credentials: true
- name: "Setup Environment"
uses: ./.github/actions/setup-uv
with: