CI: use the new setup-msys2 output for finding the install location
This commit is contained in:
parent
fe56af7c5a
commit
c9012e4639
4
.github/workflows/generate-srcinfo.yml
vendored
4
.github/workflows/generate-srcinfo.yml
vendored
@ -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: |
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user