diff --git a/.github/workflows/generate-srcinfo.yml b/.github/workflows/generate-srcinfo.yml index 5566467b4a..14200d4404 100644 --- a/.github/workflows/generate-srcinfo.yml +++ b/.github/workflows/generate-srcinfo.yml @@ -31,6 +31,7 @@ jobs: pipx install --python '${{ steps.setup-python.outputs.python-path }}' git+https://github.com/msys2/msys2-devtools - uses: msys2/setup-msys2@v2 + id: msys2 with: msystem: MSYS update: true @@ -45,8 +46,7 @@ jobs: - name: Parse PKGBUILDs and update srcinfo.json.gz run: | - $MSYS2_ROOT=(msys2 -c 'cygpath -w /') - msys2-srcinfo-cache --time-limit 19800 mingw "$MSYS2_ROOT" . srcinfo.json.gz + msys2-srcinfo-cache --time-limit 19800 mingw '${{ steps.msys2.outputs.msys2-location }}' . srcinfo.json.gz - name: Update the PyPI cache run: |