Skip to content

Commit

Permalink
Set solution in build using the context syntax.
Browse files Browse the repository at this point in the history
  • Loading branch information
tusmester committed Mar 27, 2023
1 parent a06afb7 commit 920cb90
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ jobs:
dotnet-version: 6.0.x

- name: Install dependencies
run: dotnet restore
run: dotnet restore ${{env.SOLUTION}}
- name: Build
run: dotnet build $SOLUTION --configuration Release --no-restore
run: dotnet build ${{env.SOLUTION}} --configuration Release --no-restore
- name: Pack nugets
run: dotnet pack $SOLUTION -c Release --no-build --output .
run: dotnet pack ${{env.SOLUTION}} -c Release --no-build --output .
- name: Push to NuGet
run: dotnet nuget push "*.nupkg" --skip-duplicate --api-key ${{secrets.nuget_api_key}} --source https://api.nuget.org/v3/index.json

Expand Down

0 comments on commit 920cb90

Please sign in to comment.