diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d48b73dd..4d0390bb 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -39,7 +39,7 @@ jobs: - name: 🧪 Test run: dotnet test src/Refitter.sln -c Release - name: 🗳️ Upload - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: Packages path: | diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml index 1a611387..cd8f5bb2 100644 --- a/.github/workflows/codecov.yml +++ b/.github/workflows/codecov.yml @@ -37,7 +37,7 @@ jobs: run: dotnet test src/Refitter.Tests/Refitter.Tests.csproj -c Release --collect "Code coverage" -p:UseSourceLink=true -p:PackageVersion="${{ env.VERSION }}" - name: 🗳️ Upload - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: Packages path: | diff --git a/.github/workflows/release-template.yml b/.github/workflows/release-template.yml index 9902718b..49d8931c 100644 --- a/.github/workflows/release-template.yml +++ b/.github/workflows/release-template.yml @@ -28,7 +28,7 @@ jobs: shell: pwsh run: Get-ChildItem -Filter *.nupkg -Recurse | ForEach-Object { Move-Item -Path $_ -Destination . } - name: Publish artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: Packages path: | diff --git a/.github/workflows/template.yml b/.github/workflows/template.yml index 34f81e35..0e822f0c 100644 --- a/.github/workflows/template.yml +++ b/.github/workflows/template.yml @@ -78,7 +78,7 @@ jobs: if: steps.prepare_openapi_spec.outputs.exists == 'True' - name: 🛠️ Publish generated code as Artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: Generated Code (${{ inputs.openapi }}.${{ inputs.format }}, ${{ inputs.version }}, ${{ inputs.os }}) path: test/*.cs