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 1
1
name : Publish
2
2
3
+ permissions :
4
+ contents : write
5
+
3
6
on :
4
7
pull_request :
5
8
branches :
@@ -14,13 +17,15 @@ jobs:
14
17
runs-on : windows-latest
15
18
steps :
16
19
- uses : actions/checkout@v3
20
+ with :
21
+ submodules : true
17
22
18
23
- name : Setup .NET
19
24
uses : actions/setup-dotnet@v3
20
25
with :
21
26
dotnet-version : 7.0.x
22
27
23
- - name : get version
28
+ - name : Get version
24
29
id : version
25
30
uses : notiz-dev/github-action-json-property@release
26
31
with :
@@ -34,13 +39,14 @@ jobs:
34
39
35
40
- name : Build
36
41
run : |
42
+ cd Flow.Launcher.Plugin.OneNote
37
43
dotnet publish -c Release -r win-x64 --no-self-contained Flow.Launcher.Plugin.OneNote.csproj
38
44
7z a -tzip "Flow.Launcher.Plugin.OneNote.zip" "./bin/Release/win-x64/publish/*"
39
45
40
46
- name : Publish
41
47
uses : softprops/action-gh-release@v1
42
48
with :
43
- files : " Flow.Launcher.Plugin.OneNote.zip"
49
+ files : " Flow.Launcher.Plugin.OneNote/Flow.Launcher.Plugin.OneNote .zip"
44
50
tag_name : " v${{steps.version.outputs.prop}}"
45
51
env :
46
52
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments