40
40
- 'Plugins/Flow.Launcher.Plugin.Shell/plugin.json'
41
41
sys
42
42
- 'Plugins/Flow.Launcher.Plugin.Sys/plugin.json'
43
+ url
44
+ - 'Plugins/Flow.Launcher.Plugin.Url/plugin.json'
43
45
44
46
- name : Get BrowserBookmark Version
45
47
if : steps.changes.outputs.browserbookmark == 'true'
@@ -271,5 +273,31 @@ jobs:
271
273
repository : " Flow-Launcher/Flow.Launcher.Plugin.Sys"
272
274
files : " Flow.Launcher.Plugin.Sys.zip"
273
275
tag_name : " v${{steps.updated-version-sys.outputs.prop}}"
276
+ env :
277
+ GITHUB_TOKEN : ${{ secrets.PUBLISH_PLUGINS }}
278
+
279
+
280
+ - name : Get Url Version
281
+ if : steps.changes.outputs.url == 'true'
282
+ id : updated-version-url
283
+ uses : notiz-dev/github-action-json-property@release
284
+ with :
285
+ path : ' Plugins/Flow.Launcher.Plugin.Url/plugin.json'
286
+ prop_path : ' Version'
287
+
288
+ - name : Build Url
289
+ if : steps.changes.outputs.url == 'true'
290
+ run : |
291
+ dotnet publish 'Plugins/Flow.Launcher.Plugin.Url/Flow.Launcher.Plugin.Url.csproj' --framework net7.0-windows -c Release -o "Flow.Launcher.Plugin.Url"
292
+ 7z a -tzip "Flow.Launcher.Plugin.Url.zip" "./Flow.Launcher.Plugin.Url/*"
293
+ rm -r "Flow.Launcher.Plugin.Url"
294
+
295
+ - name : Publish Url
296
+ if : steps.changes.outputs.url == 'true'
297
+ uses : softprops/action-gh-release@v1
298
+ with :
299
+ repository : " Flow-Launcher/Flow.Launcher.Plugin.Url"
300
+ files : " Flow.Launcher.Plugin.Url.zip"
301
+ tag_name : " v${{steps.updated-version-url.outputs.prop}}"
274
302
env :
275
303
GITHUB_TOKEN : ${{ secrets.PUBLISH_PLUGINS }}
0 commit comments