File tree Expand file tree Collapse file tree 1 file changed +19
-6
lines changed Expand file tree Collapse file tree 1 file changed +19
-6
lines changed Original file line number Diff line number Diff line change @@ -3,21 +3,34 @@ name: Bump version and publish
3
3
on :
4
4
workflow_dispatch :
5
5
6
- jobs :
7
- tag :
8
- permissions :
9
- contents : write
6
+ permissions :
7
+ contents : write
10
8
9
+ jobs :
10
+ tagging :
11
11
runs-on : ubuntu-latest
12
+ outputs :
13
+ new_tag : ${{ steps.tag_step.outputs.new_tag }}
12
14
13
15
steps :
14
16
- name : Generate Tag
15
- uses : cvxgrp/.github/actions/tag@v2.2.8
17
+ id : tag_step
18
+ uses : tschm/cradle/actions/tag@v0.1.57
16
19
with :
17
20
github_token : ${{ secrets.GITHUB_TOKEN }}
18
21
22
+ build :
23
+ runs-on : ubuntu-latest
24
+ needs : tagging
25
+ steps :
26
+ - name : build
27
+ uses : tschm/cradle/actions/build@v0.1.57
28
+ with :
29
+ tag : ${{ needs.tagging.outputs.new_tag }}
30
+
31
+
19
32
publish :
20
- needs : tag
33
+ needs : build
21
34
runs-on : ubuntu-latest
22
35
environment : release
23
36
You can’t perform that action at this time.
0 commit comments