diff --git a/.gitea/workflows/server.yaml b/.gitea/workflows/server.yaml index aaf1372..8b74143 100644 --- a/.gitea/workflows/server.yaml +++ b/.gitea/workflows/server.yaml @@ -20,8 +20,6 @@ jobs: sonarqube: needs: build-server runs-on: ubuntu-latest - env: - PATH: ${{ env.HOME }}/.dotnet/tools:${{ env.PATH }} if: gitea.ref == 'refs/heads/master' steps: - uses: actions/checkout@v3 @@ -32,7 +30,7 @@ jobs: - name: Install dependencies run: | dotnet restore - echo "export PATH=\"$PATH:$HOME/.dotnet/tools\"" >> /$HOME/.bashrc + echo "::add-path::${{ env.HOME }}/.dotnet/tools" - name: Setup Sonarqube Dependencies run: | apt-get update