File tree Expand file tree Collapse file tree 1 file changed +31
-12
lines changed Expand file tree Collapse file tree 1 file changed +31
-12
lines changed Original file line number Diff line number Diff line change 5
5
- ' *'
6
6
7
7
jobs :
8
- build :
9
- name : Deploy
8
+ release :
10
9
runs-on : ubuntu-latest
11
10
steps :
12
- - name : Install packages
13
- run : |
14
- sudo apt-get update
15
- sudo apt-get install xmlstarlet
16
-
17
11
- name : Checkout
18
12
uses : actions/checkout@v2
19
13
with :
@@ -45,13 +39,16 @@ jobs:
45
39
MAVEN_CENTRAL_TOKEN : ${{ secrets.SONATYPE_PASSWORD }}
46
40
MAVEN_GPG_PASSPHRASE : ${{ secrets.GPG_PASSPHRASE }}
47
41
48
- - name : Create GitHub release
49
- uses : softprops/action-gh-release@v1
42
+ commit-development-version :
43
+ runs-on : ubuntu-latest
44
+ needs : [ release ]
45
+ steps :
46
+ - name : Checkout
47
+ uses : actions/checkout@v2
50
48
with :
51
- generate_release_notes : true
52
-
49
+ fetch-depth : 5
50
+ persist-credentials : false
53
51
- name : Commit next development version
54
- if : steps.deploy.outputs.exit_code == 0
55
52
run : |
56
53
TAG=${GITHUB_REF/refs\/tags\//}
57
54
SUBSTRATE_VERSION=$(mvn help:evaluate -Dexpression=substrate.version -q -DforceStdout)
67
64
env :
68
65
PAT : ${{ secrets.PAT }}
69
66
67
+ release-notes :
68
+ runs-on : ubuntu-latest
69
+ needs : [ release ]
70
+ steps :
71
+ - name : Create GitHub release
72
+ uses : softprops/action-gh-release@v2
73
+ with :
74
+ generate_release_notes : true
75
+
76
+ update-repositories :
77
+ runs-on : ubuntu-latest
78
+ needs : [ release ]
79
+ steps :
80
+ - name : Install packages
81
+ run : |
82
+ sudo apt-get update
83
+ sudo apt-get install xmlstarlet
84
+ - name : Checkout
85
+ uses : actions/checkout@v2
86
+ with :
87
+ fetch-depth : 5
88
+ persist-credentials : false
70
89
- name : Update projects
71
90
if : steps.deploy.outputs.exit_code == 0
72
91
run : |
You can’t perform that action at this time.
0 commit comments