File tree 2 files changed +17
-0
lines changed
2 files changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -196,6 +196,12 @@ jobs:
196
196
yazi-*.snap
197
197
generate_release_notes : true
198
198
199
+ - name : Push snap to candidate channel
200
+ env :
201
+ SNAPCRAFT_STORE_CREDENTIALS : ${{ secrets.SNAPCRAFT_TOKEN }}
202
+ run : |
203
+ parallel 'snapcraft push -v --release latest/candidate {}' ::: *.snap
204
+
199
205
nightly :
200
206
if : ${{ !startsWith(github.ref, 'refs/tags/') }}
201
207
permissions :
@@ -232,3 +238,9 @@ jobs:
232
238
name : Nightly Build
233
239
body : ${{ env.NIGHTLY_BODY }}
234
240
target_commitish : ${{ github.sha }}
241
+
242
+ - name : Push snap to edge channel
243
+ env :
244
+ SNAPCRAFT_STORE_CREDENTIALS : ${{ secrets.SNAPCRAFT_TOKEN }}
245
+ run : |
246
+ parallel 'snapcraft push -v --release latest/edge {}' ::: *.snap
Original file line number Diff line number Diff line change 18
18
identifier : sxyazi.yazi
19
19
installers-regex : ' yazi-(x86_64|aarch64)-pc-windows-msvc\.zip$'
20
20
token : ${{ secrets.WINGET_TOKEN }}
21
+
22
+ - name : Promote snap to latest/stable
23
+ env :
24
+ SNAPCRAFT_STORE_CREDENTIALS : ${{ secrets.SNAPCRAFT_TOKEN }}
25
+ run : snapcraft promote yazi --from-channel latest/candidate --to-channel latest/stable --yes
You can’t perform that action at this time.
0 commit comments