File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Publish Release
2+ on :
3+ workflow_dispatch :
4+ push :
5+ branches :
6+ - master
7+ paths-ignore :
8+ - .github/workflows/*
9+
10+ jobs :
11+ publish :
12+ runs-on : windows-latest
13+
14+ steps :
15+ - uses : actions/checkout@v4
16+ - name : Setup .NET
17+ uses : actions/setup-dotnet@v4
18+ with :
19+ dotnet-version : 7.0.x
20+ - name : Get Version
21+ id : version
22+ uses : notiz-dev/github-action-json-property@release
23+ with :
24+ path : " plugin.json"
25+ prop_path : " Version"
26+ - name : Build
27+ run : |
28+ dotnet publish -c Release -r win-x64 -o "Flow.Launcher.Plugin.Cider2"
29+ 7z a -tzip "Flow.Launcher.Plugin.Cider2-${{ steps.version.outputs.prop }}.zip" "./Flow.Launcher.Plugin.Cider2/*"
30+ - name : Publish
31+ uses : softprops/action-gh-release@v1
32+ with :
33+ files : Flow.Launcher.Plugin.Cider2-${{ steps.version.outputs.prop }}.zip
34+ tag_name : ${{ steps.version.outputs.prop }}
35+ env :
36+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments