44
44
- 'Plugins/Flow.Launcher.Plugin.Url/plugin.json'
45
45
websearch
46
46
- 'Plugins/Flow.Launcher.Plugin.WebSearch/plugin.json'
47
+ windowssettings
48
+ - 'Plugins/Flow.Launcher.Plugin.WindowsSettings/plugin.json'
47
49
48
50
- name : Get BrowserBookmark Version
49
51
if : steps.changes.outputs.browserbookmark == 'true'
@@ -327,5 +329,31 @@ jobs:
327
329
repository : " Flow-Launcher/Flow.Launcher.Plugin.WebSearch"
328
330
files : " Flow.Launcher.Plugin.WebSearch.zip"
329
331
tag_name : " v${{steps.updated-version-websearch.outputs.prop}}"
332
+ env :
333
+ GITHUB_TOKEN : ${{ secrets.PUBLISH_PLUGINS }}
334
+
335
+
336
+ - name : Get WindowsSettings Version
337
+ if : steps.changes.outputs.windowssettings == 'true'
338
+ id : updated-version-windowssettings
339
+ uses : notiz-dev/github-action-json-property@release
340
+ with :
341
+ path : ' Plugins/Flow.Launcher.Plugin.WindowsSettings/plugin.json'
342
+ prop_path : ' Version'
343
+
344
+ - name : Build WindowsSettings
345
+ if : steps.changes.outputs.windowssettings == 'true'
346
+ run : |
347
+ dotnet publish 'Plugins/Flow.Launcher.Plugin.WindowsSettings/Flow.Launcher.Plugin.WindowsSettings.csproj' --framework net7.0-windows -c Release -o "Flow.Launcher.Plugin.WindowsSettings"
348
+ 7z a -tzip "Flow.Launcher.Plugin.WindowsSettings.zip" "./Flow.Launcher.Plugin.WindowsSettings/*"
349
+ rm -r "Flow.Launcher.Plugin.WindowsSettings"
350
+
351
+ - name : Publish WindowsSettings
352
+ if : steps.changes.outputs.windowssettings == 'true'
353
+ uses : softprops/action-gh-release@v1
354
+ with :
355
+ repository : " Flow-Launcher/Flow.Launcher.Plugin.WindowsSettings"
356
+ files : " Flow.Launcher.Plugin.WindowsSettings.zip"
357
+ tag_name : " v${{steps.updated-version-windowssettings.outputs.prop}}"
330
358
env :
331
359
GITHUB_TOKEN : ${{ secrets.PUBLISH_PLUGINS }}
0 commit comments