File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change 24
24
filters : |
25
25
browserbookmark:
26
26
- 'Plugins/Flow.Launcher.Plugin.BrowserBookmark/plugin.json'
27
+ calculator:
28
+ - 'Plugins/Flow.Launcher.Plugin.Calculator/plugin.json'
27
29
28
30
- name : Get BrowserBookmark Version
29
31
if : steps.changes.outputs.browserbookmark == 'true'
49
51
tag_name : " v${{steps.updated-version-browserbookmark.outputs.prop}}"
50
52
env :
51
53
GITHUB_TOKEN : ${{ secrets.PUBLISH_PLUGINS }}
54
+
55
+
56
+ - name : Get Calculator Version
57
+ if : steps.changes.outputs.calculator == 'true'
58
+ id : updated-version-calculator
59
+ uses : notiz-dev/github-action-json-property@release
60
+ with :
61
+ path : ' Plugins/Flow.Launcher.Plugin.Calculator/plugin.json'
62
+ prop_path : ' Version'
63
+
64
+ - name : Build Calculator
65
+ if : steps.changes.outputs.calculator == 'true'
66
+ run : |
67
+ dotnet publish 'Plugins/Flow.Launcher.Plugin.Calculator/Flow.Launcher.Plugin.Calculator.csproj' --framework net7.0-windows -c Release -o "Flow.Launcher.Plugin.Calculator"
68
+ 7z a -tzip "Flow.Launcher.Plugin.Calculator.zip" "./Flow.Launcher.Plugin.Calculator/*"
69
+ rm -r "Flow.Launcher.Plugin.Calculator"
70
+
71
+ - name : Publish Calculator
72
+ if : steps.changes.outputs.calculator == 'true'
73
+ uses : softprops/action-gh-release@v1
74
+ with :
75
+ repository : " Flow-Launcher/Flow.Launcher.Plugin.Calculator"
76
+ files : " Flow.Launcher.Plugin.Calculator.zip"
77
+ tag_name : " v${{steps.updated-version-calculator.outputs.prop}}"
78
+ env :
79
+ GITHUB_TOKEN : ${{ secrets.PUBLISH_PLUGINS }}
You can’t perform that action at this time.
0 commit comments