26
26
- 'Plugins/Flow.Launcher.Plugin.BrowserBookmark/plugin.json'
27
27
calculator:
28
28
- 'Plugins/Flow.Launcher.Plugin.Calculator/plugin.json'
29
+ explorer:
30
+ - 'Plugins/Flow.Launcher.Plugin.Explorer/plugin.json'
29
31
30
32
- name : Get BrowserBookmark Version
31
33
if : steps.changes.outputs.browserbookmark == 'true'
75
77
repository : " Flow-Launcher/Flow.Launcher.Plugin.Calculator"
76
78
files : " Flow.Launcher.Plugin.Calculator.zip"
77
79
tag_name : " v${{steps.updated-version-calculator.outputs.prop}}"
80
+ env :
81
+ GITHUB_TOKEN : ${{ secrets.PUBLISH_PLUGINS }}
82
+
83
+
84
+ - name : Get Explorer Version
85
+ if : steps.changes.outputs.explorer == 'true'
86
+ id : updated-version-explorer
87
+ uses : notiz-dev/github-action-json-property@release
88
+ with :
89
+ path : ' Plugins/Flow.Launcher.Plugin.Explorer/plugin.json'
90
+ prop_path : ' Version'
91
+
92
+ - name : Build Explorer
93
+ if : steps.changes.outputs.explorer == 'true'
94
+ run : |
95
+ dotnet publish 'Plugins/Flow.Launcher.Plugin.Explorer/Flow.Launcher.Plugin.Explorer.csproj' --framework net7.0-windows -c Release -o "Flow.Launcher.Plugin.Explorer"
96
+ 7z a -tzip "Flow.Launcher.Plugin.Explorer.zip" "./Flow.Launcher.Plugin.Explorer/*"
97
+ rm -r "Flow.Launcher.Plugin.Explorer"
98
+
99
+ - name : Publish Explorer
100
+ if : steps.changes.outputs.explorer == 'true'
101
+ uses : softprops/action-gh-release@v1
102
+ with :
103
+ repository : " Flow-Launcher/Flow.Launcher.Plugin.Explorer"
104
+ files : " Flow.Launcher.Plugin.Explorer.zip"
105
+ tag_name : " v${{steps.updated-version-explorer.outputs.prop}}"
78
106
env :
79
107
GITHUB_TOKEN : ${{ secrets.PUBLISH_PLUGINS }}
0 commit comments