mirror of
https://github.com/zama-ai/concrete.git
synced 2026-02-09 03:55:04 -05:00
chore: fix release workflow
- new tool to evaluate latest tag depends on some python packages - for now install the whole environment again - when poetry 1.2 is available use groups and only install required deps
This commit is contained in:
22
.github/workflows/continuous-integration.yaml
vendored
22
.github/workflows/continuous-integration.yaml
vendored
@@ -462,6 +462,26 @@ jobs:
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
|
||||
# To be removed once poetry 1.2 is released to manage dependencies with groups
|
||||
- name: Cache Installation Files
|
||||
uses: actions/cache@c64c572235d810460d0d6876e9c705ad5002b353
|
||||
with:
|
||||
# Paths are Unix specific for now
|
||||
path: |
|
||||
~/.cache/pip
|
||||
~/.cache/pypoetry
|
||||
# Ignore line break in the evaluated double quoted string
|
||||
key: "${{ runner.os }}-build-${{ matrix.python-version }}-\
|
||||
${{ hashFiles('poetry.lock') }}"
|
||||
restore-keys: |
|
||||
${{ runner.os }}-build-${{ matrix.python-version }}-
|
||||
${{ runner.os }}-build-
|
||||
${{ runner.os }}-
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
python -m pip install poetry
|
||||
make setup_env
|
||||
- name: Set tag in env
|
||||
run: |
|
||||
GIT_TAG=$(echo "${{ github.ref }}" | sed 's/refs\/tags\///g')
|
||||
@@ -476,7 +496,7 @@ jobs:
|
||||
|
||||
# We want the space separated list of versions to be expanded
|
||||
# shellcheck disable=SC2086
|
||||
REQUIRES_LATEST_TAG=$(python script/make_utils/version_utils.py \
|
||||
REQUIRES_LATEST_TAG=$(poetry run python script/make_utils/version_utils.py \
|
||||
islatest \
|
||||
--new-version "${GIT_TAG}" \
|
||||
--existing-versions $EXISTING_TAGS)
|
||||
|
||||
Reference in New Issue
Block a user