Skip to content

Commit d91a24a

Browse files
committed
Pass version through step output
1 parent 4d36389 commit d91a24a

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
@@ -17,12 +17,13 @@ jobs:
1717
version: latest
1818

1919
- name: Get release version
20+
id: fetch-version
2021
run: |
21-
echo "version=$(uv version --short)" >> "$GITHUB_ENV"
22+
echo "version=$(uv version --short)" >> $GITHUB_OUTPUT
2223
2324
- name: Release
2425
uses: softprops/action-gh-release@v2
2526
with:
26-
tag_name: ${{ env.version }}
27+
tag_name: ${{ steps.fetch-version.outputs.version }}
2728
draft: true
2829
generate_release_notes: true

0 commit comments

Comments
 (0)