File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change 11name : Publish
22
3+ permissions :
4+ contents : write
5+
36on :
47 pull_request :
58 branches :
@@ -14,13 +17,15 @@ jobs:
1417 runs-on : windows-latest
1518 steps :
1619 - uses : actions/checkout@v3
20+ with :
21+ submodules : true
1722
1823 - name : Setup .NET
1924 uses : actions/setup-dotnet@v3
2025 with :
2126 dotnet-version : 7.0.x
2227
23- - name : get version
28+ - name : Get version
2429 id : version
2530 uses : notiz-dev/github-action-json-property@release
2631 with :
@@ -34,13 +39,14 @@ jobs:
3439
3540 - name : Build
3641 run : |
42+ cd Flow.Launcher.Plugin.OneNote
3743 dotnet publish -c Release -r win-x64 --no-self-contained Flow.Launcher.Plugin.OneNote.csproj
3844 7z a -tzip "Flow.Launcher.Plugin.OneNote.zip" "./bin/Release/win-x64/publish/*"
3945
4046 - name : Publish
4147 uses : softprops/action-gh-release@v1
4248 with :
43- files : " Flow.Launcher.Plugin.OneNote.zip"
49+ files : " Flow.Launcher.Plugin.OneNote/Flow.Launcher.Plugin.OneNote .zip"
4450 tag_name : " v${{steps.version.outputs.prop}}"
4551 env :
4652 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments