diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ccdcc67c..f39b1dfa 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -56,7 +56,7 @@ jobs: run: dotnet restore - name: Build - run: dotnet build + run: dotnet build --configuration Release --no-restore - name: clean ssl cert run: dotnet dev-certs https --clean @@ -67,7 +67,7 @@ jobs: echo "SSL_CERT_DIR=$HOME/.aspnet/dev-certs/trust:${SSL_CERT_DIR:-/usr/lib/ssl/certs}" >> "$GITHUB_ENV" - name: Test with the dotnet CLI - run: dotnet test --configuration Release + run: dotnet test --configuration Release --no-build --no-restore env: parameters__Auth0TestClientId: ${{ vars.AUTH0_CLIENT_ID }} parameters__Auth0TestClientSecret: ${{ secrets.AUTH0_CLIENT_SECRET }}