Skip to content

Commit e033c7d

Browse files
committed
Pass version through step output
1 parent 1e807f8 commit e033c7d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/draft-release.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,14 @@ jobs:
2525
run: uv sync --no-group docs
2626

2727
- name: Build project
28+
id: build
2829
run: |
2930
uv build
30-
echo "version=$(uv version --short)" >> "$GITHUB_ENV"
31+
echo "version=$(uv version --short)" >> $GITHUB_OUTPUT
3132
3233
- name: Release
3334
uses: softprops/action-gh-release@v2
3435
with:
3536
files: dist/*
36-
tag_name: ${{ env.version }}
37+
tag_name: ${{ steps.build.outputs.version }}
3738
draft: true

0 commit comments

Comments
 (0)