引入redis服务,支持自动化单元测试
大石头 authored at 2022-03-31 22:56:30
468.00 B
X
name: test

on:
  push:
    branches: [ '*' ]
    paths:
        - 'NewLife.WinCore/**'
  pull_request:
    branches: [ '*' ]
    paths:
        - 'NewLife.WinCore/**'

jobs:
  build-publish:

    runs-on: windows-latest

    steps:
    - uses: actions/checkout@v3
    - name: Setup .NET
      uses: actions/setup-dotnet@v2
      with:
        dotnet-version: 6.0.x
    - name: Build
      run: |
        dotnet build -c Release NewLife.WinCore/NewLife.WinCore.csproj