Skip to content

Commit 18fba43

Browse files
authored
Update publish.yml
1 parent 63114c0 commit 18fba43

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/publish.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,19 @@ jobs:
2424
id: version
2525
uses: notiz-dev/github-action-json-property@release
2626
with:
27-
path: 'plugin.json'
27+
path: 'Flow.Launcher.Plugin.OneNote/plugin.json'
2828
prop_path: 'Version'
2929

3030
- run: echo ${{steps.version.outputs.prop}}
31+
32+
- name: Restore dependencies
33+
run: dotnet restore
3134

3235
- name: Build
3336
run: |
3437
dotnet publish -c Release -r win-x64 --no-self-contained Flow.Launcher.Plugin.OneNote.csproj
3538
7z a -tzip "Flow.Launcher.Plugin.OneNote.zip" "./bin/Release/win-x64/publish/*"
36-
39+
3740
- name: Publish
3841
uses: softprops/action-gh-release@v1
3942
with:

0 commit comments

Comments
 (0)