You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
793 B
31 lines
793 B
name: "Publish"
|
|
|
|
on:
|
|
push:
|
|
branches: [ rel-8.1.3 ]
|
|
env:
|
|
DOTNET_VERSION: "8.0.200"
|
|
|
|
jobs:
|
|
publish:
|
|
name: "Publish"
|
|
runs-on: "windows-latest"
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Setup .NET
|
|
uses: actions/setup-dotnet@v3
|
|
with:
|
|
dotnet-version: ${{ env.DOTNET_VERSION }}
|
|
- name: Install NuGet
|
|
uses: nuget/setup-nuget@v1
|
|
with:
|
|
nuget-version: '5.x'
|
|
- name: Pack All Packages
|
|
run: .\build-aspnetcore-publish-sln.ps1 -f
|
|
working-directory: .\build
|
|
shell: powershell
|
|
- name: Publish Packages
|
|
run:
|
|
dotnet nuget push *.nupkg --api-key ${{ secrets.NUGETKEY }} --source https://api.nuget.org/v3/index.json --skip-duplicate --no-symbols
|
|
working-directory: .\aspnet-core\LocalNuget
|
|
|
|
|