From b4ca82d76bbee99cb97695c48afa0812c24368bc Mon Sep 17 00:00:00 2001 From: Afonso Dutra Nogueira Filho Date: Wed, 18 Feb 2026 10:42:55 -0300 Subject: [PATCH] feat: ajustes do build e publish --- .github/workflows/ci-build-test.yml | 31 ----------------------------- .github/workflows/publish-all.yml | 4 ++-- 2 files changed, 2 insertions(+), 33 deletions(-) diff --git a/.github/workflows/ci-build-test.yml b/.github/workflows/ci-build-test.yml index 6aef01e..6abc7fa 100644 --- a/.github/workflows/ci-build-test.yml +++ b/.github/workflows/ci-build-test.yml @@ -98,37 +98,6 @@ jobs: fi done - - name: Run Tests - env: - LD_LIBRARY_PATH: /usr/lib/x86_64-linux-gnu:/usr/local/lib - run: | - echo "Running tests for QRCoder.Core.sln" - dotnet test QRCoder.Core.Tests/ \ - --configuration Release \ - --logger "trx;LogFileName=test-results.trx" \ - --results-directory TestResults \ - --collect:"XPlat Code Coverage" \ - --verbosity normal \ - --framework net10.0 - - - name: Upload Test Results - uses: actions/upload-artifact@v4 - if: always() - with: - name: test-results-qrcoder - path: | - TestResults/**/*.trx - TestResults/**/*.coverage - retention-days: 7 - - - name: Upload Coverage Reports - uses: actions/upload-artifact@v4 - if: always() - with: - name: coverage-qrcoder - path: TestResults/**/coverage.* - retention-days: 7 - # Build and Test on Windows (.NET Framework) build-windows: name: Build QRCoder.Core (Windows) diff --git a/.github/workflows/publish-all.yml b/.github/workflows/publish-all.yml index 71bd561..1bf42ed 100644 --- a/.github/workflows/publish-all.yml +++ b/.github/workflows/publish-all.yml @@ -33,7 +33,7 @@ jobs: # Pre-publish Validation validate-publish: name: 🔍 Validate Publish Readiness - runs-on: ubuntu-latest + runs-on: windows-latest if: github.event.inputs.confirm_publish == 'yes' || github.event_name == 'release' || startsWith(github.ref, 'refs/tags/v') steps: @@ -77,7 +77,7 @@ jobs: # Publish NuGet Packages publish-nuget: name: 📦 Publish NuGet Packages - runs-on: ubuntu-latest + runs-on: windows-latest needs: validate-publish environment: production