Skip to content

Commit fc4faa7

Browse files
Fix publish pipeline
1 parent 6e6d802 commit fc4faa7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
uses: svenstaro/upload-release-action@v1-release
5353
with:
5454
repo_token: ${{ secrets.GITHUB_TOKEN }}
55-
file: build/*.nupkg
55+
file: release/*.nupkg
5656
tag: ${{ github.ref }}
5757
overwrite: true
5858
file_glob: true

build/build.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ let push = fun _ ->
102102
match Environment.getBuildParam "nuget-key" with
103103
| s when not (String.isNullOrWhiteSpace s) -> s
104104
| _ -> UserInput.getUserPassword "NuGet Key: "
105-
Paket.push (fun p -> { p with WorkingDir = buildDir; ApiKey = key; ToolType = ToolType.CreateLocalTool() })
105+
Paket.push (fun p -> { p with WorkingDir = (__SOURCE_DIRECTORY__ </> ".." </> releaseDir); ApiKey = key; ToolType = ToolType.CreateLocalTool() })
106106

107107

108108
let initTargets() =

0 commit comments

Comments
 (0)