Skip to content

Commit 278fdf7

Browse files
Try fix packing
1 parent 5fb43d3 commit 278fdf7

File tree

2 files changed

+6
-13
lines changed

2 files changed

+6
-13
lines changed

.github/workflows/publish.yml

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,8 @@ jobs:
1414
- name: Checkout code
1515
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
1616

17-
- name: Publish NuGet package
18-
uses: rohith/publish-nuget@c12b8546b67672ee38ac87bea491ac94a587f7cc
19-
with:
20-
PROJECT_FILE_PATH: src/Exercism.Tests/Exercism.Tests.csproj
21-
NUGET_KEY: ${{ secrets.NUGET_API_KEY }}
22-
INCLUDE_SYMBOLS: true
23-
- uses: rohith/publish-nuget@c12b8546b67672ee38ac87bea491ac94a587f7cc # 2.5.5
24-
with:
25-
PROJECT_FILE_PATH: src/Exercism.Tests.xunit.v3/Exercism.Tests.xunit.v3.csproj
26-
NUGET_KEY: ${{ secrets.NUGET_API_KEY }}
27-
INCLUDE_SYMBOLS: true
17+
- name: Publish NuGet packagse
18+
run: |
19+
dotnet pack --configuration release --include-symbols --output build src/Exercism.Tests
20+
dotnet pack --configuration release --include-symbols --output build src/Exercism.Tests.xunit.v3
21+
dotnet nuget push --skip-duplicate --api-key ${{ secrets.NUGET_API_KEY }} --source https://www.nuget.org "**/*.nupkg"

.gitignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
.vscode/
22
.vs/
33
.idea/
4-
4+
build/
55
bin/
66
obj/
7-
87
*.DotSettings.user

0 commit comments

Comments
 (0)