Skip to content

Commit 37ad4de

Browse files
authored
Update publish-nuget-package.yml
1 parent 1f02ba5 commit 37ad4de

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.github/workflows/publish-nuget-package.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,6 @@ jobs:
1010
build:
1111

1212
runs-on: ubuntu-latest
13-
14-
env:
15-
DOTNET_PROJECT_DIR: ${{ env.DOTNET_PROJECT_DIR }}
1613

1714
steps:
1815
- uses: actions/checkout@v2
@@ -24,9 +21,9 @@ jobs:
2421
run: dotnet restore
2522
- name: Pack
2623
run: |
27-
cd $DOTNET_PROJECT_DIR
24+
cd StandardLibrary
2825
dotnet pack -c Release -o out
2926
- name: Publish
3027
env:
3128
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}
32-
run: dotnet nuget push ./$DOTNET_PROJECT_DIR/out/*.nupkg --api-key $NUGET_API_KEY --source https://api.nuget.org/v3/index.json
29+
run: dotnet nuget push ./StandardLibrary/out/*.nupkg --api-key $NUGET_API_KEY --source https://api.nuget.org/v3/index.json

0 commit comments

Comments
 (0)