CI: use the new setup-msys2 output for finding the install location

This commit is contained in:
Christoph Reiter 2024-08-03 14:10:01 +02:00
parent fe56af7c5a
commit c9012e4639

View File

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