Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
wihrl committed Feb 15, 2024
2 parents dce700a + 95a8a1f commit 6a6e60c
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# This workflow will build a .NET project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net

name: .NET

on:
release:
types: [published]

jobs:
build:

runs-on: ubuntu-latest

steps:
- name: setup .net
uses: actions/setup-dotnet@v3.2.0
- uses: actions/checkout@v3
- name: pack core
run: dotnet pack ./PropReact/PropReact.csproj -c Release -o . -p:PackageVersion=${{ github.ref_name }}
- name: pack blazor
run: dotnet pack ./PropReact.Blazor/PropReact.Blazor.csproj -c Release -o . -p:PackageVersion=${{ github.ref_name }}
- name: publish
run: dotnet nuget push *.nupkg --api-key ${{secrets.NUGET_KEY}} -s nuget.org

0 comments on commit 6a6e60c

Please sign in to comment.