diff --git a/.github/workflows/CodeQuality.yml b/.github/workflows/CodeQuality.yml index ba99d31c..8a61a097 100644 --- a/.github/workflows/CodeQuality.yml +++ b/.github/workflows/CodeQuality.yml @@ -75,7 +75,7 @@ jobs: dotnet test ./src/SmartFormat.sln --no-build --verbosity normal --configuration Release /p:AltCover=true /p:AltCoverXmlReport="coverage.xml" /p:AltCoverStrongNameKey="../SmartFormat.snk" /p:AltCoverAssemblyExcludeFilter="SmartFormat.Tests|SmartFormat.ZString|NUnit3.TestAdapter|AltCover" /p:AltCoverAttributeFilter="ExcludeFromCodeCoverage" /p:AltCoverLineCover="true" .\.sonar\scanner\dotnet-sonarscanner end /d:sonar.token="${{ secrets.SONAR_TOKEN }}" - name: Store coverage report as artifact - uses: actions/upload-artifact@v6 + uses: actions/upload-artifact@v7 with: name: coverage-report path: ./src/SmartFormat.Tests/coverage.*.xml # store all coverage reports diff --git a/.github/workflows/Publish.yml b/.github/workflows/Publish.yml index fd67728b..b7c72328 100644 --- a/.github/workflows/Publish.yml +++ b/.github/workflows/Publish.yml @@ -127,7 +127,7 @@ jobs: -p:PackageOutputPath=${{ github.workspace }}/artifacts - name: Store artifacts - uses: actions/upload-artifact@v6 + uses: actions/upload-artifact@v7 with: name: SmartFormat-Packages_${{env.VERSION}}.${{github.run_number}} path: |