File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -26,14 +26,14 @@ jobs:
2626 fetch-depth : 0
2727 - name : Setup .NET
2828 uses : actions/setup-dotnet@v4
29- - name : Pack
29+ - name : Create NuGet package
3030 run : dotnet pack src/TALXIS.CLI/TALXIS.CLI.csproj --configuration Release
3131 - uses : actions/upload-artifact@v4
3232 with :
3333 name : nuget
3434 if-no-files-found : error
3535 retention-days : 7
36- path : src/TALXIS.CLI/bin/Release/
36+ path : src/TALXIS.CLI/bin/Release/*.nupkg
3737
3838 deploy :
3939 needs : [ create_nuget ]
5050 uses : actions/setup-dotnet@v4
5151 - name : Publish NuGet package
5252 run : |
53- for file in ${{ env.NuGetDirectory }}/ *.nupkg; do
54- dotnet nuget push " $file" --api-key "${{ secrets.NUGET_API_KEY }}" --source https://api.nuget.org/v3/index.json --skip-duplicate
55- done
53+ foreach($ file in (Get-ChildItem " ${{ env.NuGetDirectory }}" -Recurse -Include *.nupkg)) {
54+ dotnet nuget push $file --api-key "${{ secrets.NUGET_APIKEY }}" --source https://api.nuget.org/v3/index.json --skip-duplicate
55+ }
Original file line number Diff line number Diff line change 44 <Version >1.0.0</Version >
55 <AssemblyVersion >1.0.0.0</AssemblyVersion >
66 <FileVersion >1.0.0.0</FileVersion >
7- <PackageVersion >1.0.0</PackageVersion >
7+ <PackageVersion >1.0.0.0 </PackageVersion >
88 <Company >TALXIS</Company >
99 <RepositoryUrl >https://github.com/TALXIS/tools-cli</RepositoryUrl >
1010 <RepositoryType >git</RepositoryType >
You can’t perform that action at this time.
0 commit comments