Skip to content

Commit 0270937

Browse files
committed
2 parents 44dcf44 + 403ba46 commit 0270937

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
runs-on: ubuntu-latest
1010

1111
steps:
12-
- uses: actions/checkout@v4.1.1
12+
- uses: actions/checkout@v4.1.4
1313
- name: Setup .NET Core
1414
uses: actions/setup-dotnet@v4
1515
with:
@@ -22,12 +22,10 @@ jobs:
2222
- name: Build
2323
run: dotnet build --configuration Release --no-restore
2424
- name: Upload a Build Artifact
25-
uses: actions/upload-artifact@v4.3.1
25+
uses: actions/upload-artifact@v4.3.3
2626
with:
2727
path: ArtNetSharp/bin/Release/**/ArtNetSharp.dll
28-
- name: Publish ArtNetSharp
29-
uses: brandedoutcast/publish-nuget@v2.5.5
30-
with:
31-
PROJECT_FILE_PATH: ArtNetSharp/ArtNetSharp.csproj
32-
NUGET_KEY: ${{secrets.NUGET_KEY}}
33-
PACKAGE_NAME: ArtNetSharp
28+
- name: Create Nuget Package
29+
run: dotnet pack --configuration Release
30+
- name: Upload to Nuget.org
31+
run: dotnet nuget push ArtNetSharp/bin/Release/ArtNetSharp.*.nupkg --api-key ${{secrets.NUGET_KEY}} -s https://api.nuget.org/v3/index.json

0 commit comments

Comments
 (0)