Skip to content

ci: 调整node版本 #68

ci: 调整node版本

ci: 调整node版本 #68

Workflow file for this run

name: Nuget
on:
push:
tags:
- "*"
jobs:
Push-Nuget:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Dotnet 8.0.100
uses: actions/setup-dotnet@v1
with:
dotnet-version: 8.0.100
include-prerelease: True
- name: Setting Version
id: vars
run: echo ::set-output name=tag::${GITHUB_REF:10}
- name: Build
run: dotnet build aspnet-core/Lion.AbpPro.sln
- name: Pack
run: dotnet pack aspnet-core/Lion.AbpPro.sln --include-source --include-symbols /p:Configuration=Release -p:PackageVersion=${GITHUB_REF:10} --output nupkgs
- name: Push
run: dotnet nuget push nupkgs/*.symbols.nupkg -k ${{secrets.NUGET_KEY}} -s https://api.nuget.org/v3/index.json