Upgrade to node20 actions e.g @v4
This commit is contained in:
parent
f9b9261d53
commit
6d420b0911
4 changed files with 11 additions and 11 deletions
8
.github/actions/run_tests/action.yml
vendored
8
.github/actions/run_tests/action.yml
vendored
|
@ -48,7 +48,7 @@ runs:
|
|||
working-directory: build/out
|
||||
shell: "pwsh"
|
||||
run: tar cfvz visual-test-results.tar.gz ./visual-test-result
|
||||
|
||||
|
||||
- name: Generate run guid
|
||||
id: run-guid
|
||||
shell: "pwsh"
|
||||
|
@ -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
|
||||
|
|
2
.github/actions/setup_vcpkg/action.yml
vendored
2
.github/actions/setup_vcpkg/action.yml
vendored
|
@ -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 }}
|
||||
|
|
6
.github/workflows/build_and_test.yml
vendored
6
.github/workflows/build_and_test.yml
vendored
|
@ -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"
|
||||
|
||||
|
|
6
.github/workflows/release_linux.yml
vendored
6
.github/workflows/release_linux.yml
vendored
|
@ -7,7 +7,7 @@ on:
|
|||
pull_request:
|
||||
branches-ignore:
|
||||
- "no-ci-*"
|
||||
env:
|
||||
env:
|
||||
PRESET: linux-ci-release
|
||||
|
||||
jobs:
|
||||
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue