File tree Expand file tree Collapse file tree 1 file changed +3
-11
lines changed Expand file tree Collapse file tree 1 file changed +3
-11
lines changed Original file line number Diff line number Diff line change 24
24
# Checkout the repo
25
25
- uses : actions/checkout@v4
26
26
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
-
37
27
- name : Setup .NET
38
28
uses : actions/setup-dotnet@v4
39
29
with :
54
44
dotnet pack ./RSML/RSML.csproj -c Release -o ./nupkg
55
45
ls .
56
46
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 `
58
49
--api-key ${{ secrets.NUGET_API_KEY }} `
59
50
--source https://api.nuget.org/v3/index.json
51
+ }
60
52
61
53
- name : Publish CLI archives
62
54
if : matrix.arch == 'x64'
You can’t perform that action at this time.
0 commit comments