Upgrade to node20 actions e.g @v4

This commit is contained in:
Artem Pavlenko 2024-03-12 13:24:34 +00:00
parent f9b9261d53
commit 6d420b0911
4 changed files with 11 additions and 11 deletions

View file

@ -57,7 +57,7 @@ runs:
echo ("GUID=" + $guid.toString()) >> $env:GITHUB_OUTPUT
- name: Upload visual test results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ inputs.cmake-preset }}-visual-tests-${{ steps.run-guid.outputs.GUID }}
path: build/out/visual-test-results.tar.gz
@ -79,12 +79,12 @@ runs:
- name: Upload coverage to Codecov (linux & macos)
if: runner.os != 'Windows'
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
files: build/coverage.info
- name: Upload coverage to Codecov (windows)
if: runner.os == 'Windows'
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
files: build/out/mapnik-test-visual.cov

View file

@ -22,7 +22,7 @@ runs:
using: "composite"
steps:
- name: checkout vcpkg
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: "microsoft/vcpkg"
ref: ${{ inputs.vcpkg-sha }}

View file

@ -18,11 +18,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: '3.10'
- uses: pre-commit/action@v3.0.0
- uses: pre-commit/action@v4
buildAndTest:
name: >-
@ -73,7 +73,7 @@ jobs:
if: runner.os == 'Windows'
- name: checkout mapnik
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: "recursive"

View file

@ -16,7 +16,7 @@ jobs:
steps:
- name: checkout mapnik
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: "recursive"
@ -49,7 +49,7 @@ jobs:
run: cmake --build --preset ${{ env.PRESET }} --target package
- name: Upload mapnik debian package
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ env.PRESET }}-deb
path: build/${{ env.PRESET }}/mapnik-*.deb