Skip to content

Commit

Permalink
Update dotnet.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
wihrl authored Oct 12, 2023
1 parent df32858 commit 016067a
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,16 @@ name: .NET
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- name: Publish NuGet
uses: brandedoutcast/publish-nuget@v2.5.5
with:
PROJECT_FILE_PATH: RazorStyle/RazorStyle.csproj
PACKAGE_NAME: wihrl.RazorStyle
NUGET_KEY: oy2fzasjpqwi2lvuzowa4h6hxiezjlkezmfzyajjjjavom
- name: setup .net
uses: actions/setup-dotnet@v3.2.0
- name: pack
run: dotnet pack RazorStyle/RazorStyle.csproj -c Release -o .
- name: publish
run: dotnet nuget push *.nupkg --api-key {{secrets.NUGET_KEY}} -s nuget.org

0 comments on commit 016067a

Please sign in to comment.