Skip to content

Commit 79a0823

Browse files
committed
full
1 parent d82a370 commit 79a0823

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/codechavez.repository.pattern.nuget.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@ jobs:
2525
- name: Restore dependencies
2626
run: dotnet restore **/CodeChavez.Repository.Pattern/CodeChavez.Repository.Pattern.csproj --configfile nuget.config --no-cache
2727

28-
# - name: Build project
29-
# run: dotnet build **/codechavez.repository.pattern/CodeChavez.Repository.Pattern.csproj --configuration Release
28+
- name: Build project
29+
run: dotnet build **/CodeChavez.Repository.Pattern/CodeChavez.Repository.Pattern.csproj --configuration Release
3030

31-
# - name: Package Common
32-
# run: dotnet pack **/codechavez.repository.pattern/CodeChavez.Repository.Pattern.csproj --configuration Release --no-build --output ./artifacts1
31+
- name: Package Common
32+
run: dotnet pack **/CodeChavez.Repository.Pattern/CodeChavez.Repository.Pattern.csproj --configuration Release --no-build --output ./artifacts1
3333

34-
# - name: Push NuGet package
35-
# run: dotnet nuget push "./artifacts1/*.nupkg" --api-key $NUGET_AUTH_TOKEN --source https://api.nuget.org/v3/index.json
36-
# env:
37-
# NUGET_AUTH_TOKEN: ${{ secrets.NUGET_API_KEY }}
34+
- name: Push NuGet package
35+
run: dotnet nuget push "./artifacts1/*.nupkg" --api-key $NUGET_AUTH_TOKEN --source https://api.nuget.org/v3/index.json
36+
env:
37+
NUGET_AUTH_TOKEN: ${{ secrets.NUGET_API_KEY }}

0 commit comments

Comments
 (0)