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.
25 lines
758 B
25 lines
758 B
name: Dotnet-Push
|
|
on:
|
|
push:
|
|
tags:
|
|
- "*"
|
|
|
|
jobs:
|
|
Push-DockerHub:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Install Dotnet 6.x
|
|
uses: actions/setup-dotnet@v1
|
|
with:
|
|
dotnet-version: "6.0"
|
|
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: Push Nuget
|
|
run:
|
|
dotnet pack aspnet-core/Lion.AbpPro.sln --include-source --include-symbols /p:Configuration=Release -p:PackageVersion=${GITHUB_REF:10} --output nupkgs &&
|
|
dotnet nuget push /**/*.symbols.nupkg -k ${{secrets.NUGET_KEY}}
|
|
|