File tree Expand file tree Collapse file tree 2 files changed +12
-11
lines changed
Expand file tree Collapse file tree 2 files changed +12
-11
lines changed Original file line number Diff line number Diff line change 1- name : Publish NuGet Package
1+ name : 📦 Publish NuGet Package
22
33on :
44 push :
55 tags :
6- - ' v*.*.*' # Only runs when a version tag is pushed, like v1.1.4
6+ - ' v*.*.*' # Triggers on version tags like v1.1.6
77
88permissions :
99 contents : read
1010 packages : write
1111
1212jobs :
1313 publish :
14+ name : Publish to NuGet.org
1415 runs-on : ubuntu-latest
15-
16- environment : production # matches the environment where you set NuGetKey
16+ environment : production
1717
1818 steps :
1919 - name : Checkout Code
@@ -27,11 +27,11 @@ jobs:
2727 - name : Restore Dependencies
2828 run : dotnet restore ./Testimize/Testimize.csproj
2929
30- - name : Build Solution
30+ - name : Build Project
3131 run : dotnet build ./Testimize/Testimize.csproj --configuration Release --no-restore
3232
3333 - name : Pack NuGet Package
3434 run : dotnet pack ./Testimize/Testimize.csproj --configuration Release --no-build --output ./nupkg
3535
36- - name : Publish to NuGet.org
37- run : dotnet nuget push ./nupkg/*.nupkg --api-key ${{ secrets.NUGETKEY }} --source " https://api.nuget.org/v3/index.json"
36+ - name : Push to NuGet.org
37+ run : dotnet nuget push ./nupkg/*.nupkg --api-key ${{ secrets.NUGETKEY }} --source https://api.nuget.org/v3/index.json
Original file line number Diff line number Diff line change 1212 </PropertyGroup >
1313
1414 <PropertyGroup >
15- <Version >1.1.5 .0</Version >
15+ <Version >1.1.6 .0</Version >
1616 <Authors >Anton Angelov</Authors >
1717 <Company >Automate The Planet Ltd.</Company >
1818 <Product >Testimize – Test and Data Generation Library</Product >
19- <AssemblyVersion >1.1.5 .0</AssemblyVersion >
20- <FileVersion >1.1.5 .0</FileVersion >
19+ <AssemblyVersion >1.1.6 .0</AssemblyVersion >
20+ <FileVersion >1.1.6 .0</FileVersion >
2121 <NeutralLanguage >en</NeutralLanguage >
2222 <Copyright >Copyright © Automate The Planet Ltd. 2025</Copyright >
2323 <PackageLicenseFile >LICENSE</PackageLicenseFile >
5858 <!-- JSON settings config file -->
5959 <Content Include =" samples\testimizeSettings.json" >
6060 <Pack >true</Pack >
61- <PackagePath >contentFiles\any \any\testimizeSettings.json </PackagePath >
61+ <PackagePath >contentFiles\cs \any</PackagePath >
6262 <CopyToOutput >true</CopyToOutput >
6363 <BuildAction >None</BuildAction >
64+ <CopyToOutputDirectory >PreserveNewest</CopyToOutputDirectory >
6465 </Content >
6566
6667 <!-- Sample test files -->
You can’t perform that action at this time.
0 commit comments