调整编译发布脚本
大石头 编写于 2024-06-20 19:17:38 大石头 提交于 2024-06-20 19:20:36
AntJob
name: test

on:
  push:
    branches: [ '*' ]
  pull_request:
    branches: [ '*' ]
  workflow_dispatch:

jobs:
  build-publish:
    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v4
    - name: Setup dotNET
      uses: actions/setup-dotnet@v3
      with:
        dotnet-version: |
          6.0.x
          7.0.x
          8.x
    - name: Build
      run: |
        dotnet build -c Release
    - name: Test
      run: |
        dotnet test -c Release