34
34
- 'Plugins/Flow.Launcher.Plugin.PluginsManager/plugin.json'
35
35
processkiller
36
36
- 'Plugins/Flow.Launcher.Plugin.ProcessKiller/plugin.json'
37
+ program
38
+ - 'Plugins/Flow.Launcher.Plugin.Program/plugin.json'
37
39
38
40
- name : Get BrowserBookmark Version
39
41
if : steps.changes.outputs.browserbookmark == 'true'
@@ -187,5 +189,31 @@ jobs:
187
189
repository : " Flow-Launcher/Flow.Launcher.Plugin.ProcessKiller"
188
190
files : " Flow.Launcher.Plugin.ProcessKiller.zip"
189
191
tag_name : " v${{steps.updated-version-processkiller.outputs.prop}}"
192
+ env :
193
+ GITHUB_TOKEN : ${{ secrets.PUBLISH_PLUGINS }}
194
+
195
+
196
+ - name : Get Program Version
197
+ if : steps.changes.outputs.program == 'true'
198
+ id : updated-version-program
199
+ uses : notiz-dev/github-action-json-property@release
200
+ with :
201
+ path : ' Plugins/Flow.Launcher.Plugin.Program/plugin.json'
202
+ prop_path : ' Version'
203
+
204
+ - name : Build Program
205
+ if : steps.changes.outputs.program == 'true'
206
+ run : |
207
+ dotnet publish 'Plugins/Flow.Launcher.Plugin.Program/Flow.Launcher.Plugin.Program.csproj' --framework net7.0-windows -c Release -o "Flow.Launcher.Plugin.Program"
208
+ 7z a -tzip "Flow.Launcher.Plugin.Program.zip" "./Flow.Launcher.Plugin.Program/*"
209
+ rm -r "Flow.Launcher.Plugin.Program"
210
+
211
+ - name : Publish Program
212
+ if : steps.changes.outputs.program == 'true'
213
+ uses : softprops/action-gh-release@v1
214
+ with :
215
+ repository : " Flow-Launcher/Flow.Launcher.Plugin.Program"
216
+ files : " Flow.Launcher.Plugin.Program.zip"
217
+ tag_name : " v${{steps.updated-version-program.outputs.prop}}"
190
218
env :
191
219
GITHUB_TOKEN : ${{ secrets.PUBLISH_PLUGINS }}
0 commit comments