Skip to content

Commit 9ba9515

Browse files
committed
Oh god please
1 parent d949205 commit 9ba9515

File tree

1 file changed

+3
-11
lines changed

1 file changed

+3
-11
lines changed

.github/workflows/dotnet_build_release.yml

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,6 @@ jobs:
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:
@@ -54,9 +44,11 @@ jobs:
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'

0 commit comments

Comments
 (0)