Skip to content

Commit

Permalink
Update push.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Panuchi authored Jul 9, 2023
1 parent 104438f commit 196099a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,10 @@ jobs:
project: 'VkNet/VkNet.csproj'

- name: Build
run: dotnet build VkNet/VkNet.csproj --configuration Release /p:Version=format('{0}.{1}', steps.get_version.outputs.version, github.run_id)
run: dotnet build VkNet/VkNet.csproj --configuration Release /p:Version=${{ format('{0}.{1}', steps.get_version.outputs.version, github.run_id) }}

- name: Build the NuGet package
run: dotnet pack VkNet/VkNet.csproj --configuration Release --output ${{env.DOTNET_ROOT}}\Package /p:Version=format('{0}.{1}', steps.get_version.outputs.version, github.run_id)
run: dotnet pack VkNet/VkNet.csproj --configuration Release --output ${{env.DOTNET_ROOT}}\Package /p:Version=${{ format('{0}.{1}', steps.get_version.outputs.version, github.run_id) }}

- name: Publish NuGet Package
run: dotnet nuget push ${{env.DOTNET_ROOT}}\Package\*.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json --skip-duplicate
Expand Down

0 comments on commit 196099a

Please sign in to comment.