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 2, 2024
1 parent b987c55 commit 9840004
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,30 +20,21 @@ jobs:
with:
dotnet-version: '7.0'

publishclient:
runs-on: windows-latest

steps:
- name: Restore dependencies
run: dotnet restore
working-directory: ../RDSServiceClient
working-directory: ./RDSServiceClient

- name: Build
run: dotnet build --configuration Release --no-restore
working-directory: ../RDSServiceClient
working-directory: ./RDSServiceClient

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

- name: Push 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

publishservice:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2

- name: Restore dependencies
run: dotnet restore
Expand Down

0 comments on commit 9840004

Please sign in to comment.