42
42
- 'Plugins/Flow.Launcher.Plugin.Sys/plugin.json'
43
43
url
44
44
- 'Plugins/Flow.Launcher.Plugin.Url/plugin.json'
45
+ websearch
46
+ - 'Plugins/Flow.Launcher.Plugin.WebSearch/plugin.json'
45
47
46
48
- name : Get BrowserBookmark Version
47
49
if : steps.changes.outputs.browserbookmark == 'true'
@@ -299,5 +301,31 @@ jobs:
299
301
repository : " Flow-Launcher/Flow.Launcher.Plugin.Url"
300
302
files : " Flow.Launcher.Plugin.Url.zip"
301
303
tag_name : " v${{steps.updated-version-url.outputs.prop}}"
304
+ env :
305
+ GITHUB_TOKEN : ${{ secrets.PUBLISH_PLUGINS }}
306
+
307
+
308
+ - name : Get WebSearch Version
309
+ if : steps.changes.outputs.websearch == 'true'
310
+ id : updated-version-websearch
311
+ uses : notiz-dev/github-action-json-property@release
312
+ with :
313
+ path : ' Plugins/Flow.Launcher.Plugin.WebSearch/plugin.json'
314
+ prop_path : ' Version'
315
+
316
+ - name : Build WebSearch
317
+ if : steps.changes.outputs.websearch == 'true'
318
+ run : |
319
+ dotnet publish 'Plugins/Flow.Launcher.Plugin.WebSearch/Flow.Launcher.Plugin.WebSearch.csproj' --framework net7.0-windows -c Release -o "Flow.Launcher.Plugin.WebSearch"
320
+ 7z a -tzip "Flow.Launcher.Plugin.WebSearch.zip" "./Flow.Launcher.Plugin.WebSearch/*"
321
+ rm -r "Flow.Launcher.Plugin.WebSearch"
322
+
323
+ - name : Publish WebSearch
324
+ if : steps.changes.outputs.websearch == 'true'
325
+ uses : softprops/action-gh-release@v1
326
+ with :
327
+ repository : " Flow-Launcher/Flow.Launcher.Plugin.WebSearch"
328
+ files : " Flow.Launcher.Plugin.WebSearch.zip"
329
+ tag_name : " v${{steps.updated-version-websearch.outputs.prop}}"
302
330
env :
303
331
GITHUB_TOKEN : ${{ secrets.PUBLISH_PLUGINS }}
0 commit comments