99
99
- name : Push Changes
100
100
uses : ad-m/github-push-action@b87afee92c6e70ea888be6203a3e9426fda49839
101
101
with :
102
- # # ssh: true
102
+ ssh : true
103
103
atomic : true
104
104
branch : main
105
105
repository : ${{ github.repository }}
@@ -126,7 +126,7 @@ jobs:
126
126
with :
127
127
ref : main
128
128
repository : ${{ github.repository }}
129
- # # ssh-key: ${{ secrets.SALT_VMTOOLS_RELEASE_KEY }}
129
+ ssh-key : ${{ secrets.SALT_VMTOOLS_RELEASE_KEY }}
130
130
131
131
- name : Configure Git
132
132
shell : bash
@@ -146,6 +146,24 @@ jobs:
146
146
CUT_RELEASE_VERSION=$(cat .cut_release_version)
147
147
echo "CUT_RELEASE_VERSION=${CUT_RELEASE_VERSION}" >> "$GITHUB_ENV"
148
148
149
+ - name : Update linux/svtminion.sh sha256sum's
150
+ run : |
151
+ sha256sum linux/svtminion.sh | awk '{ print $1 }' > svtminion.sh.sha256
152
+ sha256sum windows/svtminion.ps1 | awk '{ print $1 }' > svtminion.ps1.sha256
153
+ ls -alh
154
+ git add svtminion.sh.sha256
155
+ git add svtminion.ps1.sha256
156
+ git commit -am "Update sha256 checksums" || git commit -am "Update sha256 checksums"
157
+
158
+ - name : Push Changes
159
+ uses : ad-m/github-push-action@b87afee92c6e70ea888be6203a3e9426fda49839
160
+ with :
161
+ ssh : true
162
+ tags : true
163
+ atomic : true
164
+ branch : main
165
+ repository : ${{ github.repository }}
166
+
149
167
- name : Tag The ${{ needs.update-main.outputs.release-version }} Release
150
168
run : |
151
169
git tag -f --no-sign -m "Release ${{ needs.update-main.outputs.release-version }}" -a ${{ needs.update-main.outputs.release-version }}
@@ -163,6 +181,8 @@ jobs:
163
181
files : |
164
182
linux/svtminion.sh
165
183
windows/svtminion.ps1
184
+ svtminion.sh.sha256
185
+ svtminion.ps1.sha256
166
186
LICENSE
167
187
168
188
- name : Delete Release Details Artifact
@@ -186,7 +206,7 @@ jobs:
186
206
with :
187
207
ref : main
188
208
repository : ${{ github.repository }}
189
- # # ssh-key: ${{ secrets.SALT_VMTOOLS_RELEASE_KEY }}
209
+ ssh-key : ${{ secrets.SALT_VMTOOLS_RELEASE_KEY }}
190
210
191
211
- name : Get linux/svtminion.sh on main branch sha256sum
192
212
run : |
@@ -197,7 +217,7 @@ jobs:
197
217
with :
198
218
ref : main
199
219
repository : ${{ github.repository }}
200
- # # ssh-key: ${{ secrets.SALT_VMTOOLS_RELEASE_KEY }}
220
+ ssh-key : ${{ secrets.SALT_VMTOOLS_RELEASE_KEY }}
201
221
202
222
- name : Configure Git
203
223
shell : bash
@@ -224,25 +244,7 @@ jobs:
224
244
- name : Push Changes
225
245
uses : ad-m/github-push-action@b87afee92c6e70ea888be6203a3e9426fda49839
226
246
with :
227
- # # ssh: true
228
- atomic : true
229
- branch : main
230
- repository : ${{ github.repository }}
231
-
232
- - name : Update linux/svtminion.sh sha256sum's
233
- run : |
234
- sha256sum linux/svtminion.sh | awk '{ print $1 }' > svtminion.sh.sha256
235
- sha256sum windows/svtminion.ps1 | awk '{ print $1 }' > svtminion.ps1.sha256
236
- ls -alh
237
- git add svtminion.sh.sha256
238
- git add svtminion.ps1.sha256
239
- git commit -am "Update sha256 checksums" || git commit -am "Update sha256 checksums"
240
-
241
- - name : Push Changes
242
- uses : ad-m/github-push-action@b87afee92c6e70ea888be6203a3e9426fda49839
243
- with :
244
- # # ssh: true
245
- tags : true
247
+ ssh : true
246
248
atomic : true
247
249
branch : main
248
250
repository : ${{ github.repository }}
0 commit comments