Skip to content

Commit 334e2c2

Browse files
committed
Update update-version.yml
1 parent 279686e commit 334e2c2

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

.github/workflows/update-version.yml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,20 @@ jobs:
2626
run: |
2727
git config user.name devops
2828
git config user.email [email protected]
29-
- name: 'Install Poetry'
30-
uses: Gr1N/setup-poetry@v9
29+
- name: 'Get uv release'
30+
id: uv_release
31+
run: |
32+
echo uv_version=$(cat deps/uv_release) >> "${GITHUB_OUTPUT}"
33+
- name: 'Install uv'
34+
uses: astral-sh/setup-uv@v6
35+
with:
36+
version: ${{ steps.uv_release.outputs.uv_version }}
3137
- name: 'Update pyk release tag'
3238
run: |
3339
K_VERSION=$(cat deps/k_release)
34-
sed -i 's!kframework = "[0-9\.]*"!kframework = "'${K_VERSION}'"!' kevm-pyk/pyproject.toml
35-
poetry -C kevm-pyk update
36-
git add kevm-pyk/ && git commit -m "kevm-pyk/: sync poetry files pyk version ${K_VERSION}" || true
40+
sed -i 's! "kframework==[0-9\.]*,"! "kframework=='${K_VERSION}'",!' kevm-pyk/pyproject.toml
41+
uv --project kevm-pyk lock --upgrade
42+
git add kevm-pyk/ && git commit -m "kevm-pyk/: sync uv files pyk version ${K_VERSION}" || true
3743
- name: 'Update plugin release file'
3844
run: |
3945
BKP_VERSION=$(git -C kevm-pyk/src/kevm_pyk/kproj/plugin rev-parse HEAD)

0 commit comments

Comments
 (0)