generate-srcinfo: sync from MSYS2-packages

This commit is contained in:
Christoph Reiter
2025-10-22 08:56:04 +02:00
parent cb872f1886
commit 7ece3bb493

View File

@@ -22,13 +22,15 @@ jobs:
- uses: actions/setup-python@v5
id: setup-python
with:
python-version: '3.11'
cache: 'pip'
cache-dependency-path: .github/workflows/generate-srcinfo.yml
python-version: '3.12'
- uses: astral-sh/setup-uv@v7
with:
cache-dependency-glob: .github/workflows/generate-srcinfo.yml
- name: Install dependencies
run: |
pipx install --python '${{ steps.setup-python.outputs.python-path }}' 'msys2-devtools[srcinfo-cache] @ git+https://github.com/msys2/msys2-devtools'
uv tool install --python '${{ steps.setup-python.outputs.python-path }}' 'msys2-devtools[srcinfo-cache] @ git+https://github.com/msys2/msys2-devtools'
- uses: msys2/setup-msys2@v2
id: msys2
@@ -64,11 +66,15 @@ jobs:
- uses: actions/setup-python@v5
id: setup-python
with:
python-version: '3.11'
python-version: '3.12'
- uses: astral-sh/setup-uv@v7
with:
cache-dependency-glob: .github/workflows/generate-srcinfo.yml
- name: Install dependencies
run: |
pipx install --python '${{ steps.setup-python.outputs.python-path }}' 'msys2-devtools[pypi-cache,sbom] @ git+https://github.com/msys2/msys2-devtools'
uv tool install --python '${{ steps.setup-python.outputs.python-path }}' 'msys2-devtools[pypi-cache,sbom] @ git+https://github.com/msys2/msys2-devtools'
- name: Update the PyPI cache
run: |