File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : " Deploy to Nuget"
22
33on :
4+ workflow_dispatch :
45 push :
5- tags :
6- - ' v* '
6+ branches :
7+ - master
78
89env :
910 PROJECT_PATH : ' FmgLib.Localization.csproj'
3435 uses : battila7/get-version-action@v2
3536
3637 - name : ' Pack project'
37- run : dotnet pack ${{ env.PROJECT_PATH }} --no-restore --no-build --configuration Release --include-symbols -p:PackageVersion=${{ steps.version.output.version-without-v }} - -output ${{ env.PACKAGE_OUTPUT_DIRECTORY }}
38+ run : dotnet pack ${{ env.PROJECT_PATH }} --no-restore --no-build --configuration Release --include-symbols --output ${{ env.PACKAGE_OUTPUT_DIRECTORY }}
3839
3940 - name : ' Push package'
4041 run : dotnet nuget push ${{ env.PACKAGE_OUTPUT_DIRECTORY }}\*.nupkg -k ${{ secrets.NUGET_AUTH_TOKEN }} -s ${{ env.NUGET_SOURCE_URL }}
Original file line number Diff line number Diff line change 1414 <PackageIcon >nuget.png</PackageIcon >
1515 <PackageReadmeFile >README.md</PackageReadmeFile >
1616 <PackageLicenseFile >LICENSE</PackageLicenseFile >
17+ <Version >1.0.4</Version >
1718 </PropertyGroup >
1819
1920 <ItemGroup >
You can’t perform that action at this time.
0 commit comments