Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
JarLob committed Dec 12, 2021
1 parent e342911 commit 0100bd2
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ jobs:
env:
Solution_Name: SecurityCodeScan.sln
APPVEYOR_REPO_TAG_NAME: "${{github.event.inputs.version}}"
DOTNET_CLI_TELEMETRY_OPTOUT: 1

steps:
- name: Checkout
Expand Down Expand Up @@ -81,8 +82,6 @@ jobs:
[Environment]::Exit(0)
- name: Publish nugets
env:
nuget_token: ${{ secrets.nuget_token }}
run: |
dotnet nuget push "./SecurityCodeScan/bin/${{ matrix.configuration }}/netstandard2.0/SecurityCodeScan.VS2019.${{github.event.inputs.version}}.nupkg" -k ${nuget_token} -s https://api.nuget.org/v3/index.json
dotnet nuget push "./SecurityCodeScan.Tool/.NET Core/bin/${{ matrix.configuration }}/security-scan.${{github.event.inputs.version}}.nupkg" -k ${nuget_token} -s https://api.nuget.org/v3/index.json
dotnet nuget push "./SecurityCodeScan/bin/${{ matrix.configuration }}/netstandard2.0/SecurityCodeScan.VS2019.${{github.event.inputs.version}}.nupkg" -k ${{ secrets.NUGET_TOKEN }} -s https://api.nuget.org/v3/index.json
dotnet nuget push "./SecurityCodeScan.Tool/.NET Core/bin/${{ matrix.configuration }}/security-scan.${{github.event.inputs.version}}.nupkg" -k ${{ secrets.NUGET_TOKEN }} -s https://api.nuget.org/v3/index.json

0 comments on commit 0100bd2

Please sign in to comment.