fix: build error without full pages #107
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: Pull Request Checks | |
on: | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Setup .NET Core | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: 8.0.100 | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: "10.x" | |
- name: Check Building β | |
run: | | |
npm install | |
cp -rf .github/deploy/gh-pages/* .github/deploy/gh-pages/.nojekyll .github/deploy/gh-pages/.spa ./src/AntDesign.Pro/wwwroot | |
dotnet build ./AntDesign.Pro.sln | |
dotnet publish ./AntDesign.Pro.sln -c Release -o cargo | |
- name: Test Package | |
run: | | |
dotnet pack templates.csproj -c Release -o pack | |
dotnet new -i ./pack/AntDesign.Templates.1.0.0.nupkg | |
dotnet new antdesign -n wasm --host wasm --full | |
dotnet new antdesign -n server --host server --full | |
dotnet new antdesign -n webapp --host webapp --full | |
dotnet build ./wasm | |
dotnet build ./server | |
dotnet build ./webapp |