mirror of
https://github.com/php-curl-class/php-curl-class.git
synced 2026-11-08 04:35:21 +00:00
6dadfd2d38
Bumps [astral-sh/setup-uv](https://github.com/astral-sh/setup-uv) from 10.3.0 to 10.3.2. - [Release notes](https://github.com/astral-sh/setup-uv/releases) - [Commits](https://github.com/astral-sh/setup-uv/compare/v10.3.0...v10.3.2) --- updated-dependencies: - dependency-name: astral-sh/setup-uv dependency-version: 10.3.2 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
38 lines
1.1 KiB
YAML
38 lines
1.1 KiB
YAML
name: Release
|
|
|
|
on:
|
|
schedule:
|
|
# Stagger from the other scheduled workflows that write to master so its push doesn't leave their PRs behind.
|
|
- cron: '0 17 * * 1-4'
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
release:
|
|
# Prevent this workflow from running elsewhere.
|
|
if: github.repository_owner == 'php-curl-class'
|
|
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v7
|
|
with:
|
|
fetch-depth: 0
|
|
fetch-tags: true
|
|
persist-credentials: false
|
|
|
|
- name: Set up uv
|
|
uses: astral-sh/setup-uv@v10.3.2
|
|
with:
|
|
enable-cache: true
|
|
cache-dependency-glob: scripts/make_release_requirements.txt
|
|
|
|
- name: Set git details
|
|
run: |
|
|
git config --global user.name "github-actions[bot]"
|
|
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
|
|
|
- name: Make release
|
|
run: uv run --with-requirements scripts/make_release_requirements.txt python scripts/make_release.py
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.PHP_CURL_CLASS_TOKEN }}
|