38
38
- 'Plugins/Flow.Launcher.Plugin.Program/plugin.json'
39
39
shell
40
40
- 'Plugins/Flow.Launcher.Plugin.Shell/plugin.json'
41
+ sys
42
+ - 'Plugins/Flow.Launcher.Plugin.Sys/plugin.json'
41
43
42
44
- name : Get BrowserBookmark Version
43
45
if : steps.changes.outputs.browserbookmark == 'true'
@@ -243,5 +245,31 @@ jobs:
243
245
repository : " Flow-Launcher/Flow.Launcher.Plugin.Shell"
244
246
files : " Flow.Launcher.Plugin.Shell.zip"
245
247
tag_name : " v${{steps.updated-version-shell.outputs.prop}}"
248
+ env :
249
+ GITHUB_TOKEN : ${{ secrets.PUBLISH_PLUGINS }}
250
+
251
+
252
+ - name : Get Sys Version
253
+ if : steps.changes.outputs.sys == 'true'
254
+ id : updated-version-sys
255
+ uses : notiz-dev/github-action-json-property@release
256
+ with :
257
+ path : ' Plugins/Flow.Launcher.Plugin.Sys/plugin.json'
258
+ prop_path : ' Version'
259
+
260
+ - name : Build Sys
261
+ if : steps.changes.outputs.sys == 'true'
262
+ run : |
263
+ dotnet publish 'Plugins/Flow.Launcher.Plugin.Sys/Flow.Launcher.Plugin.Sys.csproj' --framework net7.0-windows -c Release -o "Flow.Launcher.Plugin.Sys"
264
+ 7z a -tzip "Flow.Launcher.Plugin.Sys.zip" "./Flow.Launcher.Plugin.Sys/*"
265
+ rm -r "Flow.Launcher.Plugin.Sys"
266
+
267
+ - name : Publish Sys
268
+ if : steps.changes.outputs.sys == 'true'
269
+ uses : softprops/action-gh-release@v1
270
+ with :
271
+ repository : " Flow-Launcher/Flow.Launcher.Plugin.Sys"
272
+ files : " Flow.Launcher.Plugin.Sys.zip"
273
+ tag_name : " v${{steps.updated-version-sys.outputs.prop}}"
246
274
env :
247
275
GITHUB_TOKEN : ${{ secrets.PUBLISH_PLUGINS }}
0 commit comments