重命名 package id,避免發佈到 public nuget server 會因為和原本的 package id 相同而無法發布 #5
Workflow file for this run
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: Build | |
on: | |
push: | |
branches: [ dev, main, master, '**' ] | |
pull_request: | |
branches: [ dev, main, master ] | |
jobs: | |
windows: | |
name: build on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ windows-latest ] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup .NET SDK 6.0.x | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: 6.0.x | |
- name: Show dotnet Version | |
run: | | |
dotnet --list-sdks | |
dotnet --list-runtimes | |
- name: Build with dotnet | |
run: | | |
dotnet build --configuration Release D:\a\EasyCaching\EasyCaching\EasyCaching.sln |