Upgrade .NET 8 Preview and Angular 15 (#105) #18
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish LETPortal.Core Lib | |
on: | |
workflow_dispatch: | |
push: | |
branches: [ master ] | |
paths: | |
- 'src/web-apis/LetPortal.Core/LetPortal.Core.csproj' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup .NET Core | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: 3.1.101 | |
- name: Pack a LetPortal.Core | |
run: dotnet pack --configuration Release --output nupkgs | |
working-directory: src/web-apis/LetPortal.Core | |
- name: Publish NuGet | |
run: dotnet nuget push nupkgs/*.nupkg -k ${{ secrets.NugetPublishKey }} -s https://api.nuget.org/v3/index.json --skip-duplicate | |
working-directory: src/web-apis/LetPortal.Core |