36
36
- 'Plugins/Flow.Launcher.Plugin.ProcessKiller/plugin.json'
37
37
program
38
38
- 'Plugins/Flow.Launcher.Plugin.Program/plugin.json'
39
+ shell
40
+ - 'Plugins/Flow.Launcher.Plugin.Shell/plugin.json'
39
41
40
42
- name : Get BrowserBookmark Version
41
43
if : steps.changes.outputs.browserbookmark == 'true'
@@ -215,5 +217,31 @@ jobs:
215
217
repository : " Flow-Launcher/Flow.Launcher.Plugin.Program"
216
218
files : " Flow.Launcher.Plugin.Program.zip"
217
219
tag_name : " v${{steps.updated-version-program.outputs.prop}}"
220
+ env :
221
+ GITHUB_TOKEN : ${{ secrets.PUBLISH_PLUGINS }}
222
+
223
+
224
+ - name : Get Shell Version
225
+ if : steps.changes.outputs.shell == 'true'
226
+ id : updated-version-shell
227
+ uses : notiz-dev/github-action-json-property@release
228
+ with :
229
+ path : ' Plugins/Flow.Launcher.Plugin.Shell/plugin.json'
230
+ prop_path : ' Version'
231
+
232
+ - name : Build Shell
233
+ if : steps.changes.outputs.shell == 'true'
234
+ run : |
235
+ dotnet publish 'Plugins/Flow.Launcher.Plugin.Shell/Flow.Launcher.Plugin.Shell.csproj' --framework net7.0-windows -c Release -o "Flow.Launcher.Plugin.Shell"
236
+ 7z a -tzip "Flow.Launcher.Plugin.Shell.zip" "./Flow.Launcher.Plugin.Shell/*"
237
+ rm -r "Flow.Launcher.Plugin.Shell"
238
+
239
+ - name : Publish Shell
240
+ if : steps.changes.outputs.shell == 'true'
241
+ uses : softprops/action-gh-release@v1
242
+ with :
243
+ repository : " Flow-Launcher/Flow.Launcher.Plugin.Shell"
244
+ files : " Flow.Launcher.Plugin.Shell.zip"
245
+ tag_name : " v${{steps.updated-version-shell.outputs.prop}}"
218
246
env :
219
247
GITHUB_TOKEN : ${{ secrets.PUBLISH_PLUGINS }}
0 commit comments