File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2424 # Checkout the repo
2525 - uses : actions/checkout@v4
2626
27- - name : Strip 'v' from tag name
28- id : versioning
29- run : |
30- $version = "${{ github.ref_name }}"
31- if ($version.StartsWith("v")) {
32- $version = $version.Substring(1)
33- }
34- echo "VERSION_NUMBER=$version" >> $env:GITHUB_ENV
35- shell : pwsh
36-
3727 - name : Setup .NET
3828 uses : actions/setup-dotnet@v4
3929 with :
5444 dotnet pack ./RSML/RSML.csproj -c Release -o ./nupkg
5545 ls .
5646 ls ./nupkg/
57- dotnet nuget push "./nupkg/RSML.${{ env.VERSION_NUMBER }}.nupkg" `
47+ Get-ChildItem -Path ./nupkg -Filter *.nupkg | ForEach-Object {
48+ dotnet nuget push $_.FullName `
5849 --api-key ${{ secrets.NUGET_API_KEY }} `
5950 --source https://api.nuget.org/v3/index.json
51+ }
6052
6153 - name : Publish CLI archives
6254 if : matrix.arch == 'x64'
You can’t perform that action at this time.
0 commit comments