fix: Make update-libxrpl-version work with lockfile (#2249)

This commit is contained in:
Ayaz Salikhov
2025-06-23 11:38:28 +01:00
committed by GitHub
parent 6cabe89601
commit 7661ee6a3b
2 changed files with 7 additions and 29 deletions

View File

@@ -27,7 +27,13 @@ jobs:
- name: Update libXRPL version requirement
shell: bash
run: |
./.github/scripts/update-libxrpl-version ${{ github.event.client_payload.version }}
sed -i.bak -E "s|'xrpl/[a-zA-Z0-9\\.\\-]+'|'xrpl/${{ github.event.client_payload.version }}'|g" conanfile.py
rm -f conanfile.py.bak
- name: Update conan lockfile
shell: bash
run: |
conan lock create . -o '&:tests=True' -o '&:benchmark=True'
- name: Prepare runner
uses: ./.github/actions/prepare_runner