Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
kyle079 authored Feb 5, 2024
1 parent f182158 commit 4a75dce
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,22 @@ jobs:
run: dotnet nuget push "*.nupkg" --source "https://nuget.pkg.github.com/kyle079/index.json" --api-key ${{ secrets.GITHUB_TOKEN }} --skip-duplicate
working-directory: ./nupkgs/RDSServiceClient

- name: Restore library dependencies
run: dotnet restore
working-directory: ./RDSServiceLibrary

- name: Build library
run: dotnet build --configuration Release
working-directory: ./RDSServiceLibrary

- name: Pack library
run: dotnet pack --configuration Release --no-build --output ../nupkgs/RDSServiceLibrary -IncludeReferencedProjects
working-directory: ./RDSServiceLibrary

- name: Push client to GitHub Packages
- name: Push library to GitHub Packages
run: dotnet nuget push "*.nupkg" --source "https://nuget.pkg.github.com/kyle079/index.json" --api-key ${{ secrets.GITHUB_TOKEN }} --skip-duplicate
working-directory: ./nupkgs/RDSServiceLibrary


- name: Restore service dependencies
run: dotnet restore
working-directory: ./RDSService
Expand Down

0 comments on commit 4a75dce

Please sign in to comment.