From 10892d763ab23e7530d31140be6bcdc6d7231d5c Mon Sep 17 00:00:00 2001 From: "agile.zhou" Date: Fri, 26 Jan 2024 01:56:16 +0800 Subject: [PATCH] update ci yml --- .github/workflows/master-ci.yml | 36 ++++++--------------------------- 1 file changed, 6 insertions(+), 30 deletions(-) diff --git a/.github/workflows/master-ci.yml b/.github/workflows/master-ci.yml index fe53b759..8b60260c 100644 --- a/.github/workflows/master-ci.yml +++ b/.github/workflows/master-ci.yml @@ -5,44 +5,20 @@ on: branches: [ master ] paths-ignore: - '**/*.md' - - '**/*.yml' jobs: - build-reactapp: - runs-on: ubuntu-latest - defaults: - run: - working-directory: src/AgileConfig.Server.UI/react-ui-antd - strategy: - matrix: - node-version: [16.x] - - steps: - - uses: actions/checkout@v2 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 - with: - node-version: ${{ matrix.node-version }} - - - run: npm install - - run: npm run build - - uses: actions/upload-artifact@v2 - with: - name: agileconfig-ui - path: src/AgileConfig.Server.UI/react-ui-antd/dist/ build-dotnet: - needs: build-reactapp runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - name: Setup .NET Core - uses: actions/setup-dotnet@v1 + - uses: actions/checkout@v3 + - name: Setup .NET + uses: actions/setup-dotnet@v3 with: - dotnet-version: 8.0.* - - name: Install dependencies + dotnet-version: 8.0.x + - name: Restore dependencies run: dotnet restore - name: Build - run: dotnet build --configuration Release --no-restore + run: dotnet build --no-restore - name: Test run: dotnet test --no-build --verbosity normal - uses: actions/download-artifact@v2