Skip to content

Commit 3b6e103

Browse files
committed
build: fix release assets action
build: fix release assets action
1 parent d39480b commit 3b6e103

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

.github/workflows/release-assets.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,10 @@ jobs:
1414
uses: ./.github/workflows/version.yml
1515

1616
release:
17-
needs: build
17+
needs:
18+
- build
19+
- version
20+
1821
runs-on: ubuntu-latest
1922

2023
steps:
@@ -31,8 +34,8 @@ jobs:
3134
env:
3235
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3336
with:
34-
tag_name: ${{ jobs.version.outputs.VERSION }}
35-
release_name: ${{ jobs.version.outputs.VERSION }}
37+
tag_name: ${{ needs.version.outputs.VERSION }}
38+
release_name: ${{ needs.version.outputs.VERSION }}
3639
draft: false
3740
prerelease: false
3841

.github/workflows/version.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ on:
44
outputs:
55
VERSION:
66
description: "The VERSION string"
7-
value: ${{ jobs.build.outputs.VERSION }}
7+
value: ${{ jobs.version.outputs.VERSION }}
88

99
jobs:
10-
get-version:
10+
version:
1111
runs-on: ubuntu-latest
1212

1313
outputs:

0 commit comments

Comments
 (0)