Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
patrick-dmxc committed May 11, 2024
2 parents 44dcf44 + 403ba46 commit 0270937
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/[email protected].1
- uses: actions/[email protected].4
- name: Setup .NET Core
uses: actions/setup-dotnet@v4
with:
Expand All @@ -22,12 +22,10 @@ jobs:
- name: Build
run: dotnet build --configuration Release --no-restore
- name: Upload a Build Artifact
uses: actions/[email protected].1
uses: actions/[email protected].3
with:
path: ArtNetSharp/bin/Release/**/ArtNetSharp.dll
- name: Publish ArtNetSharp
uses: brandedoutcast/[email protected]
with:
PROJECT_FILE_PATH: ArtNetSharp/ArtNetSharp.csproj
NUGET_KEY: ${{secrets.NUGET_KEY}}
PACKAGE_NAME: ArtNetSharp
- name: Create Nuget Package
run: dotnet pack --configuration Release
- name: Upload to Nuget.org
run: dotnet nuget push ArtNetSharp/bin/Release/ArtNetSharp.*.nupkg --api-key ${{secrets.NUGET_KEY}} -s https://api.nuget.org/v3/index.json

0 comments on commit 0270937

Please sign in to comment.