diff --git a/.github/workflows/bdn-apicompat.yml b/.github/workflows/bdn-apicompat.yml index aaa1e32..bfdd559 100644 --- a/.github/workflows/bdn-apicompat.yml +++ b/.github/workflows/bdn-apicompat.yml @@ -53,14 +53,14 @@ jobs: if (-not $issueType) { $issueType = 'ReportAndSummary' } ./build/checkBdnApiCompatibility.ps1 -Token $token -IssueType $issueType -PreviousVersionOverride '${{ github.event.inputs.previous-version }}' - name: Upload Status - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ${{ steps.apicompat.outputs.StatusArtifactName }} path: ${{ steps.apicompat.outputs.StatusArtifactPath }} retention-days: 5 - name: Upload Logs if: ${{ steps.apicompat.outputs.LogArtifactName != '' }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ${{ steps.apicompat.outputs.LogArtifactName }} path: ${{ steps.apicompat.outputs.LogArtifactPath }} @@ -101,7 +101,7 @@ jobs: exec { dotnet build ./tests/Mawosoft.Extensions.BenchmarkDotNet.Tests/NightlyBDN/Mawosoft.Extensions.BenchmarkDotNet.Tests.NightlyBDN.csproj -c Release --no-restore } - name: Upload Binlogs if: ${{ failure() || github.event_name == 'workflow_dispatch' }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ${{ matrix.os }}-Binlogs path: '**/MSBuild_Logs/*' @@ -113,7 +113,7 @@ jobs: ./build/test.ps1 -p ./tests/Mawosoft.Extensions.BenchmarkDotNet.Tests/NightlyBDN/Mawosoft.Extensions.BenchmarkDotNet.Tests.NightlyBDN.csproj -c Debug, Release -f $tfms -v detailed -r ./TestResults -ff:$${{ strategy.fail-fast }} - name: Upload Test results if: ${{ (failure() || github.event_name == 'workflow_dispatch') && steps.test.outcome != 'skipped' }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ${{ matrix.os }}-Testresults path: ./TestResults/ diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 85d9a27..a7a4fa8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -96,19 +96,19 @@ jobs: exec { dotnet pack ./src/Mawosoft.Extensions.BenchmarkDotNet/Mawosoft.Extensions.BenchmarkDotNet.csproj -c Release --no-build -o ./Packages } - name: Upload Binlogs if: ${{ always() }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ${{ matrix.os }}-Binlogs path: '**/MSBuild_Logs/*' - name: Upload Packages if: ${{ matrix.os == 'ubuntu-latest' || strategy.job-total == 1 }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: Packages path: ./Packages/ - name: Upload Docs Website if: ${{ matrix.os == 'ubuntu-latest' || strategy.job-total == 1 }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: DocsWebsite path: ./docs/_site/ @@ -144,7 +144,7 @@ jobs: ./build/test.ps1 -p ./tests/Mawosoft.Extensions.BenchmarkDotNet.Tests/StableBDN/Mawosoft.Extensions.BenchmarkDotNet.Tests.StableBDN.csproj, ./tests/Mawosoft.Extensions.BenchmarkDotNet.Tests/NightlyBDN/Mawosoft.Extensions.BenchmarkDotNet.Tests.NightlyBDN.csproj -c Debug, Release -f $tfms -v detailed -r ./TestResults -ff:$${{ strategy.fail-fast }} - name: Upload Test results if: ${{ always() && steps.test.outcome != 'skipped' }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ${{ matrix.os }}-Testresults path: ./TestResults/ diff --git a/.github/workflows/dependencies.yml b/.github/workflows/dependencies.yml index a87835e..de412af 100644 --- a/.github/workflows/dependencies.yml +++ b/.github/workflows/dependencies.yml @@ -29,7 +29,7 @@ jobs: id: tooldependencies run: ./build/checkToolDependencies.ps1 -Token (ConvertTo-SecureString ${{ secrets.GITHUB_TOKEN }} -AsPlainText) - name: Upload artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ${{ steps.tooldependencies.outputs.ArtifactName }} path: ${{ steps.tooldependencies.outputs.ArtifactPath }} diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 365fe71..499ba76 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -38,7 +38,7 @@ jobs: exec { dotnet build ./docs/docs.msbuildproj -c Release } - name: Upload Binlogs if: ${{ always() }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: DocFX-Binlogs path: '**/MSBuild_Logs/*'