Skip to content

产品类别没有必填提示 #515 #599

产品类别没有必填提示 #515

产品类别没有必填提示 #515 #599

Workflow file for this run

name: Auto Build
on:
push:
branches: [ master, develop ]
pull_request:
branches: [ master, develop ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup .NET Core
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
- name: Install dependencies
run: dotnet restore
- name: Build
run: dotnet build --configuration Release --no-restore
- name: Test EasyFrameWork
working-directory: ./test/EasyFrameWork.Test
run: dotnet test
- name: Install tools
run: |
dotnet tool install --global ZKEACMS.Publisher
dotnet tool install --global sqlite-exec
- name: Publish
working-directory: ./src/ZKEACMS.WebHost
run: publish-zkeacms
- name: Create database
run: |
mkdir ./src/ZKEACMS.WebHost/bin/Release/PublishOutput/App_Data
sqlite-exec -d ./src/ZKEACMS.WebHost/bin/Release/PublishOutput/App_Data/Database.sqlite -f ./Database/SQLite/ZKEACMS.sqlite.sql
cp -f ./Database/SQLite/appsettings.json ./src/ZKEACMS.WebHost/bin/Release/PublishOutput/appsettings.json