Skip to content

Commit db663a0

Browse files
authored
Update cd.yml
1 parent 3997ee3 commit db663a0

1 file changed

Lines changed: 6 additions & 7 deletions

File tree

.github/workflows/cd.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ on:
88
jobs:
99
release:
1010
runs-on: ubuntu-latest
11+
1112
steps:
1213
- name: Checkout code
1314
uses: actions/checkout@v3
@@ -24,12 +25,10 @@ jobs:
2425
run: dotnet build --configuration Release --no-restore
2526

2627
# - name: Run tests
27-
# run: dotnet test --filter "FullyQualifiedName~MapperIA.Tests.Mappers.ClassMapper.ClassMapperTests | FullyQualifiedName~MapperIA.Tests.Mappers.PDFMapper.PDFMapperTests"
28-
29-
- name: Publish to GitHub NuGet
30-
run: dotnet nuget push **/bin/Release/*.nupkg --source "github" --api-key ${{ secrets.GITHUB_TOKEN }}
31-
env:
32-
NUGET_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
28+
# run: dotnet test
3329

3430
- name: Add GitHub NuGet source
35-
run: dotnet nuget add source https://nuget.pkg.github.com/01Dri/index.json --name github --username 01Dri --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text
31+
run: dotnet nuget add source "https://nuget.pkg.github.com/01Dri/index.json" --name "github" --username "01Dri" --password "${{ secrets.GITHUB_TOKEN }}" --store-password-in-clear-text
32+
33+
- name: Publish to GitHub Packages (NuGet)
34+
run: dotnet nuget push **/bin/Release/*.nupkg --source "github" --api-key "${{ secrets.GITHUB_TOKEN }}"

0 commit comments

Comments
 (0)