From 9a232b237fe5684629990da878cdb559ec0ae38f Mon Sep 17 00:00:00 2001 From: Alexey Zimarev Date: Mon, 29 Jan 2024 12:10:58 +0100 Subject: [PATCH] Add dotnet --- .github/workflows/preview.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/preview.yml b/.github/workflows/preview.yml index e4f5bafe..833087a3 100644 --- a/.github/workflows/preview.yml +++ b/.github/workflows/preview.yml @@ -14,16 +14,14 @@ jobs: - uses: actions/checkout@v3 with: fetch-depth: 0 + - + name: Setup .NET + uses: actions/setup-dotnet@v4 + with: + dotnet-version: '8.0' - name: Run tests run: dotnet test --framework net8.0 - - - name: Login to GitHub Container Registry - uses: docker/login-action@v3 - with: - registry: ghcr.io - username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} - name: Publish test results uses: EnricoMi/publish-unit-test-result-action@v2