From e76216fff96bd5f80b9249cba7166b952d3cf6d0 Mon Sep 17 00:00:00 2001 From: Lukas Pielsticker <50139597+lukaspie@users.noreply.github.com> Date: Sat, 8 Jun 2024 23:38:03 +0200 Subject: [PATCH] use different regex to replace pynx version --- .github/workflows/nomad-requirements.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/nomad-requirements.yml b/.github/workflows/nomad-requirements.yml index 3def9d907..2a777bd3c 100644 --- a/.github/workflows/nomad-requirements.yml +++ b/.github/workflows/nomad-requirements.yml @@ -30,7 +30,7 @@ jobs: - name: Replace pynxtools dependency in NOMAD pyproject.toml working-directory: ./nomad run: | - sed -i "s|pynxtools\\\[convert\\\].*|pynxtools\[convert\]@git+https://github.com/FAIRmat-NFDI/pynxtools.git@${{ github.head_ref }}|" pyproject.toml + sed -i 's|pynxtools\[convert\]==[0-9]\+\(\.[0-9]\+\)\{0,2\}|pynxtools\[convert\]@git+https://github.com/FAIRmat-NFDI/pynxtools.git@${{ github.head_ref }}|' pyproject.toml - name: Set up Python uses: actions/setup-python@v2