mirror of
https://github.com/php-curl-class/php-curl-class.git
synced 2026-11-07 04:05:49 +00:00
Replace pip with cached uv run in release workflow
This commit is contained in:
@@ -20,10 +20,11 @@ jobs:
|
||||
fetch-tags: true
|
||||
persist-credentials: false
|
||||
|
||||
- name: Install requirements
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install --requirement scripts/make_release_requirements.txt
|
||||
- name: Set up uv
|
||||
uses: astral-sh/setup-uv@v10.3.0
|
||||
with:
|
||||
enable-cache: true
|
||||
cache-dependency-glob: scripts/make_release_requirements.txt
|
||||
|
||||
- name: Set git details
|
||||
run: |
|
||||
@@ -31,6 +32,6 @@ jobs:
|
||||
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
||||
|
||||
- name: Make release
|
||||
run: python scripts/make_release.py
|
||||
run: uv run --with-requirements scripts/make_release_requirements.txt python scripts/make_release.py
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.PHP_CURL_CLASS_TOKEN }}
|
||||
|
||||
Reference in New Issue
Block a user