前言
体验了一下github的ci/cd 感觉挺好用的,下面是两种在用的模板可以参考
.net core nuget 自动发布
name: Narojay.Tools.Core
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 5.0.x
-