调整插件项目中应用构建的编译条件。 🉑 #910
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: ci | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install .NET | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: | | |
5.0.x | |
6.0.x | |
7.0.x | |
- name: Install Zongsoft.Tools.Deployer | |
run: dotnet tool install -g Zongsoft.Tools.Deployer | |
- name: Install Cake.Tool | |
run: dotnet tool install -g Cake.Tool | |
- name: Make cake executable | |
run: chmod +x ./cake.sh | |
- name: Build & Test | |
run: ./cake.ps1 |