Skip to content

Commit 2665fc1

Browse files
committed
Make sure that pack ends up in a folder
- Attempt to run at Windows again due to another error on Linux.
1 parent 2f1c781 commit 2665fc1

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/publish-release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010

1111
publishPackages:
1212

13-
runs-on: ubuntu-latest
13+
runs-on: windows-latest
1414

1515
env:
1616
SOLUTION_PATH: 'src/Blockcore.sln'
@@ -43,7 +43,7 @@ jobs:
4343
# shell: bash
4444

4545
- name: Nuget Pack
46-
run: dotnet pack --configuration ${{env.BUILD_CONFIGURATION}} --output "${{github.workspace}}/package" ${{env.SOLUTION_PATH}}
46+
run: dotnet pack --configuration ${{env.BUILD_CONFIGURATION}} --output "${{github.workspace}}\package\" ${{env.SOLUTION_PATH}}
4747

4848
- name: Nuget Push
49-
run: nuget push ${{github.workspace}}/package/*.nupkg -ApiKey ${{secrets.NUGET_KEY}} -Source "https://api.nuget.org/v3/index.json" -SkipDuplicate -NoSymbols
49+
run: nuget push ${{github.workspace}}\package\*.nupkg -ApiKey ${{secrets.NUGET_KEY}} -Source "https://api.nuget.org/v3/index.json" -SkipDuplicate -NoSymbols

0 commit comments

Comments
 (0)