ci: small nightly fixes (#3993)
* Add back correct checkout steps * fix directory
This commit is contained in:
parent
06239ea63a
commit
06eebb5ca8
5 changed files with 11 additions and 7 deletions
8
.github/workflows/nightly_build.yml
vendored
8
.github/workflows/nightly_build.yml
vendored
|
|
@ -24,11 +24,14 @@ jobs:
|
||||||
main_tag: ${{ steps.generate_main_tag.outputs.main_tag }}
|
main_tag: ${{ steps.generate_main_tag.outputs.main_tag }}
|
||||||
base_tag: ${{ steps.set_base_tag.outputs.base_tag }}
|
base_tag: ${{ steps.set_base_tag.outputs.base_tag }}
|
||||||
steps:
|
steps:
|
||||||
|
- name: Checkout code
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
persist-credentials: true
|
||||||
- name: "Setup Environment"
|
- name: "Setup Environment"
|
||||||
uses: ./.github/actions/setup-uv
|
uses: ./.github/actions/setup-uv
|
||||||
with:
|
with:
|
||||||
ref: ${{ github.ref }}
|
ref: ${{ github.ref }}
|
||||||
|
|
||||||
- name: Install the project
|
- name: Install the project
|
||||||
run: uv sync --dev
|
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_version.py $MAIN_TAG main
|
||||||
uv run ./scripts/ci/update_pyproject_name.py langflow-nightly main
|
uv run ./scripts/ci/update_pyproject_name.py langflow-nightly main
|
||||||
uv run ./scripts/ci/update_uv_dependency.py $BASE_TAG
|
uv run ./scripts/ci/update_uv_dependency.py $BASE_TAG
|
||||||
|
|
||||||
uv lock
|
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 add pyproject.toml src/backend/base/pyproject.toml uv.lock src/backend/base/uv.lock
|
||||||
git commit -m "Update version and project name"
|
git commit -m "Update version and project name"
|
||||||
|
|
|
||||||
1
.github/workflows/python_test.yml
vendored
1
.github/workflows/python_test.yml
vendored
|
|
@ -117,7 +117,6 @@ jobs:
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
ref: ${{ inputs.ref || github.ref }}
|
ref: ${{ inputs.ref || github.ref }}
|
||||||
persist-credentials: true
|
|
||||||
- name: "Setup Environment"
|
- name: "Setup Environment"
|
||||||
uses: ./.github/actions/setup-uv
|
uses: ./.github/actions/setup-uv
|
||||||
with:
|
with:
|
||||||
|
|
|
||||||
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
|
|
@ -56,6 +56,8 @@ jobs:
|
||||||
version: ${{ steps.check-version.outputs.version }}
|
version: ${{ steps.check-version.outputs.version }}
|
||||||
skipped: ${{ steps.check-version.outputs.skipped }}
|
skipped: ${{ steps.check-version.outputs.skipped }}
|
||||||
steps:
|
steps:
|
||||||
|
- name: Checkout code
|
||||||
|
uses: actions/checkout@v4
|
||||||
- name: Setup Environment
|
- name: Setup Environment
|
||||||
uses: ./.github/workflows/setup-uv.yml
|
uses: ./.github/workflows/setup-uv.yml
|
||||||
with:
|
with:
|
||||||
|
|
@ -116,6 +118,8 @@ jobs:
|
||||||
outputs:
|
outputs:
|
||||||
version: ${{ steps.check-version.outputs.version }}
|
version: ${{ steps.check-version.outputs.version }}
|
||||||
steps:
|
steps:
|
||||||
|
- name: Checkout code
|
||||||
|
uses: actions/checkout@v4
|
||||||
- name: Setup Environment
|
- name: Setup Environment
|
||||||
uses: ./.github/workflows/setup-uv.yml
|
uses: ./.github/workflows/setup-uv.yml
|
||||||
with:
|
with:
|
||||||
|
|
|
||||||
2
.github/workflows/release_nightly.yml
vendored
2
.github/workflows/release_nightly.yml
vendored
|
|
@ -137,7 +137,7 @@ jobs:
|
||||||
- name: Check out the code at a specific ref
|
- name: Check out the code at a specific ref
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
ref: ${{ inputs.ref }}
|
ref: ${{ inputs.nightly_tag_main}}
|
||||||
persist-credentials: true
|
persist-credentials: true
|
||||||
- name: "Setup Environment"
|
- name: "Setup Environment"
|
||||||
uses: ./.github/actions/setup-uv
|
uses: ./.github/actions/setup-uv
|
||||||
|
|
|
||||||
3
.github/workflows/style-check-py.yml
vendored
3
.github/workflows/style-check-py.yml
vendored
|
|
@ -19,9 +19,6 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: Check out the code at a specific ref
|
- name: Check out the code at a specific ref
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
|
||||||
ref: ${{ github.ref }}
|
|
||||||
persist-credentials: true
|
|
||||||
- name: "Setup Environment"
|
- name: "Setup Environment"
|
||||||
uses: ./.github/actions/setup-uv
|
uses: ./.github/actions/setup-uv
|
||||||
with:
|
with:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue