diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 33e0f3d..3d942a8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -152,14 +152,14 @@ jobs: - name: 📤 Upload coverage report if: always() - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v6 with: name: coverage-report path: ${{ env.WORKING_DIRECTORY }}/CoverageReport/ - name: 📤 Upload test results if: always() - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v6 with: name: test-results path: ${{ env.WORKING_DIRECTORY }}/TestResults/ diff --git a/.github/workflows/dotnet-core.yml b/.github/workflows/dotnet-core.yml index b64c06e..18df775 100644 --- a/.github/workflows/dotnet-core.yml +++ b/.github/workflows/dotnet-core.yml @@ -53,14 +53,14 @@ jobs: run: dotnet test --configuration ${{ env.CONFIGURATION }} --no-build --verbosity minimal --logger trx --collect:"XPlat Code Coverage" -- DataCollectionRunSettings.DataCollectors.DataCollector.Configuration.ExcludeByFile="**/Program.cs" - name: 📊 Upload test results - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v6 if: always() with: name: test-results-${{ matrix.os }} path: ${{ env.WORKING_DIRECTORY }}/TestResults/ - name: 📈 Upload coverage reports - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v6 if: always() && matrix.os == 'ubuntu-latest' with: name: coverage-reports @@ -153,7 +153,7 @@ jobs: run: dotnet pack --configuration ${{ env.CONFIGURATION }} --output ./packages - name: 📤 Upload packages artifact - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v6 with: name: nuget-packages path: ${{ env.WORKING_DIRECTORY }}/packages/*.nupkg \ No newline at end of file diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index bfa0017..bb6ed38 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -59,14 +59,14 @@ jobs: run: dotnet test --configuration ${{ env.CONFIGURATION }} --no-build --verbosity minimal --logger trx --collect:"XPlat Code Coverage" -- DataCollectionRunSettings.DataCollectors.DataCollector.Configuration.ExcludeByFile="**/Program.cs" - name: 📊 Upload test results - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v6 if: always() with: name: test-results-${{ matrix.os }} path: ${{ env.WORKING_DIRECTORY }}/TestResults/ - name: 📈 Upload coverage reports - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v6 if: always() && matrix.os == 'ubuntu-latest' with: name: coverage-reports