@@ -35,20 +35,20 @@ jobs:
35
35
36
36
37
37
- name : Get Merged Pull Request
38
- uses : actions-ecosystem/action-get-merged-pull-request@v1
38
+ uses : actions-ecosystem/action-get-merged-pull-request@v1.0.1
39
39
id : get-merged-pull-request
40
40
with :
41
41
github_token : ${{ secrets.GITHUB_TOKEN }}
42
42
43
43
- name : Get Pull Request Release Label
44
- uses : actions-ecosystem/action-release-label@v1
44
+ uses : actions-ecosystem/action-release-label@v1.2.0
45
45
id : release-label
46
46
if : ${{ steps.get-merged-pull-request.outputs.title != null }}
47
47
with :
48
48
labels : ${{ steps.get-merged-pull-request.outputs.labels }}
49
49
50
50
- name : Get Latest Tag
51
- uses : actions-ecosystem/action-get-latest-tag@v1
51
+ uses : actions-ecosystem/action-get-latest-tag@v1.1.0
52
52
id : get-latest-tag
53
53
if : ${{ steps.release-label.outputs.level != null }}
54
54
with :
82
82
lfs : true
83
83
84
84
- name : Cache files
85
-
85
+
86
86
with :
87
87
path : ${{ env.PROJECT_PATH }}/Library
88
88
key : Library-${{ env.PROJECT_PATH }}-${{ matrix.targetPlatform }}
91
91
Library-
92
92
93
93
- name : Build
94
-
94
+
95
95
with :
96
96
buildName : Example Project
97
97
projectPath : ${{ env.PROJECT_PATH }}
@@ -115,23 +115,23 @@ jobs:
115
115
116
116
117
117
- name : Push New Tag
118
- uses : actions-ecosystem/action-push-tag@v1
118
+ uses : actions-ecosystem/action-push-tag@v1.0.0
119
119
if : ${{ needs.bump-semver.outputs.version != null }}
120
120
with :
121
121
tag : ${{ needs.bump-semver.outputs.version }}
122
122
message : " ${{ needs.bump-semver.outputs.version }}: PR #${{ needs.bump-semver.outputs.number }} ${{ needs.bump-semver.outputs.title }}"
123
123
124
124
- name : Create Changelog
125
125
id : changelog
126
- uses :
loopwerk/[email protected] .1
126
+ uses :
loopwerk/[email protected] .4
127
127
if : ${{ needs.bump-semver.outputs.version != null }}
128
128
with :
129
129
token : ${{ secrets.GITHUB_TOKEN }}
130
130
exclude_types : other,doc,chore
131
131
config_file : .github/changelog-config.js
132
132
133
133
- name : Download Artifacts
134
- uses : actions/download-artifact@v2
134
+ uses : actions/download-artifact@v2.0.10
135
135
with :
136
136
name : Build
137
137
path : build
@@ -146,28 +146,20 @@ jobs:
146
146
147
147
- name : Create Release
148
148
id : create_release
149
- uses : actions/create- release@latest
149
+ uses : softprops/action-gh- release@v0.1.13
150
150
env :
151
151
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
152
152
with :
153
153
tag_name : ${{ needs.bump-semver.outputs.version }}
154
- release_name : Release ${{ needs.bump-semver.outputs.version }}
154
+ name : Release ${{ needs.bump-semver.outputs.version }}
155
155
body : |
156
156
${{ steps.changelog.outputs.changelog }}
157
157
draft : false
158
158
prerelease : false
159
-
160
- - name : Upload Files to Release
161
- uses : svenstaro/upload-release-action@v2
162
- with :
163
- repo_token : ${{ secrets.GITHUB_TOKEN }}
164
- file : build/*.zip
165
- tag : ${{ needs.bump-semver.outputs.version }}
166
- overwrite : true
167
- file_glob : true
159
+ files : build/*.zip
168
160
169
161
- name : Create Comment about Release
170
- uses : actions-ecosystem/action-create-comment@v1
162
+ uses : actions-ecosystem/action-create-comment@v1.0.0
171
163
if : ${{ needs.bump-semver.outputs.version != null }}
172
164
with :
173
165
github_token : ${{ secrets.GITHUB_TOKEN }}
0 commit comments