From dc885c614d64bd1edb1eebc7b60a0ed0dd44eb79 Mon Sep 17 00:00:00 2001 From: Timothy Schenk Date: Wed, 15 Nov 2023 14:25:09 +0100 Subject: [PATCH] ci: something worked? --- .gitea/workflows/server.yaml | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/.gitea/workflows/server.yaml b/.gitea/workflows/server.yaml index 9421383..115e6e9 100644 --- a/.gitea/workflows/server.yaml +++ b/.gitea/workflows/server.yaml @@ -4,7 +4,7 @@ on: [ push ] env: # Name of module and id separated by a slash - INSTANCE: Continuity/wiki + INSTANCE: Wiki/wiki # Replace HI with the ID of the instance in capital letters ARTIFACT: webHelpWIKI2-all.zip # Writerside docker image version @@ -21,21 +21,6 @@ jobs: id: sanitize run: echo "::set-output name=sanitized_branch_name::$(echo ${{ github.ref_name }} | sed 's/\//-/g')" - build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - name: Setup dotnet - uses: https://github.com/actions/setup-dotnet@v3 - with: - dotnet-version: 8.0 - - name: Install dependencies - run: dotnet restore - - name: Build - run: | - dotnet build Server -c Release - # dotnet test Server.Tests -c Release - docs: runs-on: ubuntu-latest container: registry.jetbrains.team/p/writerside/builder/writerside-builder:${{env.DOCKER_VERSION}} @@ -72,6 +57,21 @@ jobs: path: artifacts/${{ env.ALGOLIA_ARTIFACT }} retention-days: 14 + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Setup dotnet + uses: https://github.com/actions/setup-dotnet@v3 + with: + dotnet-version: 8.0 + - name: Install dependencies + run: dotnet restore + - name: Build + run: | + dotnet build Server -c Release + # dotnet test Server.Tests -c Release + sonarqube: needs: build runs-on: ubuntu-latest