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 }}
|
||||
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"
|
||||
|
|
|
|||
1
.github/workflows/python_test.yml
vendored
1
.github/workflows/python_test.yml
vendored
|
|
@ -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:
|
||||
|
|
|
|||
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
|
|
@ -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:
|
||||
|
|
|
|||
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
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
ref: ${{ inputs.ref }}
|
||||
ref: ${{ inputs.nightly_tag_main}}
|
||||
persist-credentials: true
|
||||
- name: "Setup Environment"
|
||||
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:
|
||||
- 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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue