File tree 1 file changed +9
-8
lines changed
1 file changed +9
-8
lines changed Original file line number Diff line number Diff line change 5
5
schedule :
6
6
- cron : " 0 23 * * *"
7
7
jobs :
8
- build-artifacts :
8
+ set-env :
9
9
runs-on : ubuntu-latest
10
10
outputs :
11
11
version : ${{ env.HQ_VERSION }}
@@ -18,13 +18,14 @@ jobs:
18
18
- name : Print HQ nightly version
19
19
run : |
20
20
echo "HQ version: ${{ env.HQ_VERSION }}"
21
- - name : Build artifacts
22
- uses : ./.github/workflows/build.yml
23
- with :
24
- version : ${{ env.HQ_VERSION }}
21
+ build-artifacts :
22
+ needs : [set-env]
23
+ uses : ./.github/workflows/build.yml
24
+ with :
25
+ version : ${{ needs.set-env.outputs.version }}
25
26
create-tag :
26
27
runs-on : ubuntu-latest
27
- needs : [ build-artifacts ]
28
+ needs : [set-env, build-artifacts]
28
29
steps :
29
30
- name : Checkout sources
30
31
uses : actions/checkout@v3
@@ -33,10 +34,10 @@ jobs:
33
34
with :
34
35
tag : nightly
35
36
force_push_tag : true
36
- message : Nightly build ${{ needs.build-artifacts .outputs.version }}
37
+ message : Nightly build ${{ needs.set-env .outputs.version }}
37
38
create-release :
38
39
runs-on : ubuntu-latest
39
- needs : [ create-tag ]
40
+ needs : [create-tag]
40
41
steps :
41
42
- name : Checkout sources
42
43
uses : actions/checkout@v3
You can’t perform that action at this time.
0 commit comments