File tree 2 files changed +11
-8
lines changed
2 files changed +11
-8
lines changed Original file line number Diff line number Diff line change 10
10
build :
11
11
uses : ./.github/workflows/build.yml
12
12
13
+ version :
14
+ uses : ./.github/workflows/version.yml
15
+
13
16
release :
14
- needs : build
17
+ needs :
18
+ - build
19
+ - version
20
+
15
21
runs-on : ubuntu-latest
16
22
17
23
steps :
@@ -22,17 +28,14 @@ jobs:
22
28
with :
23
29
name : dist
24
30
25
- - uses : ./.github/workflows/version.yml
26
- id : version
27
-
28
31
- name : Create Release
29
32
id : create_release
30
33
uses : actions/create-release@latest
31
34
env :
32
35
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
33
36
with :
34
- tag_name : ${{ steps .version.outputs.VERSION }}
35
- release_name : ${{ steps .version.outputs.VERSION }}
37
+ tag_name : ${{ needs .version.outputs.VERSION }}
38
+ release_name : ${{ needs .version.outputs.VERSION }}
36
39
draft : false
37
40
prerelease : false
38
41
Original file line number Diff line number Diff line change 4
4
outputs :
5
5
VERSION :
6
6
description : " The VERSION string"
7
- value : ${{ jobs.build .outputs.VERSION }}
7
+ value : ${{ jobs.version .outputs.VERSION }}
8
8
9
9
jobs :
10
- get- version :
10
+ version :
11
11
runs-on : ubuntu-latest
12
12
13
13
outputs :
You can’t perform that action at this time.
0 commit comments