Skip to content

Commit

Permalink
Fix env value in build.
Browse files Browse the repository at this point in the history
  • Loading branch information
tusmester committed Mar 27, 2023
1 parent 15127a0 commit 920395d
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/publish.yml
Expand Up @@ -29,14 +29,12 @@ jobs:
with:
dotnet-version: 6.0.x

- name: Echo environment
run: echo ${{env.SOLUTION}}
- name: Install dependencies
run: dotnet restore '$SOLUTION'
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 920395d

Please sign in to comment.