generate-srcinfo: sync from MSYS2-packages
This commit is contained in:
18
.github/workflows/generate-srcinfo.yml
vendored
18
.github/workflows/generate-srcinfo.yml
vendored
@@ -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: |
|
||||
|
||||
Reference in New Issue
Block a user