Skip to content

Commit ab3a018

Browse files
committed
Try to fix release.yaml
1 parent b967b7a commit ab3a018

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/release.yaml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: Release
22

33
on:
4+
pull_request:
45
push:
56
tags: ['v*']
67

@@ -21,12 +22,10 @@ jobs:
2122
uses: actions/checkout@v4
2223
with:
2324
fetch-depth: 0
24-
- name: Setup uv
25-
id: setup-uv
26-
uses: astral-sh/setup-uv@v4
25+
- uses: ./.github/actions/setup
2726
with:
28-
version: "0.8.8"
2927
python-version: ${{ matrix.python-version }}
28+
uv-dependency-install-flags: "--all-extras --group dev"
3029
- name: Add version to environment
3130
run: |
3231
PROJECT_VERSION=`sed -ne 's/^version = "\([0-9\.]*\)"/\1/p' pyproject.toml`
@@ -42,7 +41,6 @@ jobs:
4241
echo "" >> ".github/release_template.md"
4342
echo "## Changelog" >> ".github/release_template.md"
4443
echo "" >> ".github/release_template.md"
45-
uv add --no-sync typer
4644
uv run --no-sync python scripts/changelog-to-release-template.py >> ".github/release_template.md"
4745
echo "" >> ".github/release_template.md"
4846
echo "## Changes" >> ".github/release_template.md"

0 commit comments

Comments
 (0)