Skip to content

Commit 976a709

Browse files
committed
GOATS-745: Bugfix in workflow.
1 parent f0a421f commit 976a709

1 file changed

Lines changed: 3 additions & 11 deletions

File tree

.github/workflows/build_release.yaml

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@ on:
1616
required: false
1717
default: false
1818

19-
env:
20-
UV_SYSTEM_PYTHON: 1
21-
2219
jobs:
2320
release:
2421
runs-on: ubuntu-latest
@@ -34,22 +31,17 @@ jobs:
3431
fetch-depth: 0
3532
ref: ${{ inputs.branch }}
3633

37-
- name: Install uv and set the python version
38-
uses: astral-sh/setup-uv@v6
39-
with:
40-
python-version: ${{ matrix.python-version }}
41-
4234
- name: Install dependencies
43-
run: uv pip install towncrier
35+
run: pip install towncrier uv
4436

4537
- name: Generate draft release notes with Towncrier
4638
run: |
47-
uv run towncrier build --draft --version "${{ inputs.version }}" > draft_release_notes.md
39+
towncrier build --draft --version "${{ inputs.version }}" > draft_release_notes.md
4840
4941
- name: Generate final release notes with Towncrier
5042
run: |
5143
if [[ "${{ inputs.prerelease }}" == "false" ]]; then
52-
uv run towncrier build --version "${{ inputs.version }}" --yes
44+
towncrier build --version "${{ inputs.version }}" --yes
5345
fi
5446
5547
- name: Update pyproject.toml and uv.lock with new version

0 commit comments

Comments
 (0)