Skip to content

Commit

Permalink
action to publish the NuGetForUnity.Cli NuGet package (#500)
Browse files Browse the repository at this point in the history
  • Loading branch information
JoC0de authored Feb 19, 2023
1 parent df746e9 commit 3d4a36b
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,14 @@ jobs:
- name: Build and pack
run: >-
dotnet pack ./src/NuGetForUnity.Cli/NuGetForUnity.Cli.csproj --nologo -c Release -o .
-p:Version=${{ needs.determineVersionNumber.outputs.version }}
-p:Version=${{ needs.determineVersionNumber.outputs.version }} -p:IncludeSymbols=true -p:SymbolPackageFormat=snupkg
-p:ContinuousIntegrationBuild=true
- name: publish the NuGetForUnity.Cli NuGet package
if: github.ref_type == 'tag'
run: >-
dotnet nuget push .\NuGetForUnity.Cli.${{ needs.determineVersionNumber.outputs.version }}.nupkg --api-key ${{secrets.NUGET_API_TOKEN}}
--source https://api.nuget.org/v3/index.json
- name: Upload NuGetForUnity.Cli NuGet package
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit 3d4a36b

Please # to comment.