Skip to content

Commit

Permalink
Updating to resolve issues with nuget command-line change and set-output
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffpatton1971 committed Aug 17, 2024
1 parent 6123e8e commit d1a053e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/BuildProject.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
run: dotnet test ${{ github.workspace }}/TerraformRegistryClient/TerraformRegistryClient.sln --configuration Release --no-build

- name: Set Output
run: echo "::set-output name=should-run::true"
run: echo "should-run=${{ env.should_run }}" >> $GITHUB_ENV
id: set-output

pack_and_publish:
Expand All @@ -62,5 +62,5 @@ jobs:

- name: Publish NuGet Package
run: |
nuget push **/*.nupkg -k ${{secrets.NUGET_API_KEY}} -s https://api.nuget.org/v3/index.json
nuget push **/*.nupkg -ApiKey ${{secrets.NUGET_API_KEY}} -s https://api.nuget.org/v3/index.json
if: github.ref == 'refs/heads/main' && github.event_name == 'push'

0 comments on commit d1a053e

Please sign in to comment.