diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index dad671d..bc5dbdd 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -23,14 +23,14 @@ jobs: name: Run tests and create NuGet package steps: - name: Checkout git repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: # to fetch all history for all branches and tags so that MinVer fetch-depth: 0 - name: Install .NET SDK - uses: actions/setup-dotnet@v3 + uses: actions/setup-dotnet@v4 - name: Retrieve cached NuGet packages - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.nuget/packages key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }} @@ -43,7 +43,7 @@ jobs: - name: Run tests run: dotnet test --no-build - name: Upload received files from failing tests - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: failure() with: name: Received-${{ runner.os }} @@ -65,7 +65,7 @@ jobs: run: dotnet pack --no-build --output . - name: Upload NuGet package artifact if: matrix.os == 'ubuntu-latest' - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: NuGet package path: "*.nupkg" @@ -76,7 +76,7 @@ jobs: git tag --list ${{ github.ref_name }} --format='%(contents)' > ReleaseNotes.md - name: Upload release notes if: matrix.os == 'ubuntu-latest' && startsWith(github.ref, 'refs/tags/') - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: Release Notes path: ReleaseNotes.md @@ -89,11 +89,11 @@ jobs: name: Publish NuGet package and create GitHub release steps: - name: Download NuGet package artifact - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: NuGet package - name: Download release notes artifact - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: Release Notes - name: Create GitHub Release