This is an automated email from the ASF dual-hosted git repository.
wusheng pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/skywalking-graalvm-distro.git
The following commit(s) were added to refs/heads/main by this push:
new 936d1d5 Upgrade GitHub Actions from v4 to v5 to fix Node.js 20
deprecation
936d1d5 is described below
commit 936d1d522e0f8da9ce1fe933c09fd4495ea8e5df
Author: Wu Sheng <[email protected]>
AuthorDate: Fri Mar 13 10:24:17 2026 +0800
Upgrade GitHub Actions from v4 to v5 to fix Node.js 20 deprecation
---
.github/workflows/ci.yml | 28 ++++++++++++++--------------
.github/workflows/release.yml | 18 +++++++++---------
2 files changed, 23 insertions(+), 23 deletions(-)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 9926ab6..3aa0103 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -35,7 +35,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
- uses: actions/checkout@v4
+ uses: actions/checkout@v5
- name: Check license headers
uses: apache/skywalking-eyes/header@main
@@ -48,7 +48,7 @@ jobs:
cache-key: ${{ steps.cache-key.outputs.key }}
steps:
- name: Checkout with submodules
- uses: actions/checkout@v4
+ uses: actions/checkout@v5
with:
submodules: recursive
@@ -64,7 +64,7 @@ jobs:
- name: Restore Maven cache
id: cache
- uses: actions/cache@v4
+ uses: actions/cache@v5
with:
path: ~/.m2/repository
key: ${{ steps.cache-key.outputs.key }}
@@ -80,7 +80,7 @@ jobs:
needs: init-skywalking
steps:
- name: Checkout with submodules
- uses: actions/checkout@v4
+ uses: actions/checkout@v5
with:
submodules: recursive
@@ -91,7 +91,7 @@ jobs:
distribution: 'graalvm'
- name: Restore Maven cache
- uses: actions/cache/restore@v4
+ uses: actions/cache/restore@v5
with:
path: ~/.m2/repository
key: ${{ needs.init-skywalking.outputs.cache-key }}
@@ -128,7 +128,7 @@ jobs:
packages: write
steps:
- name: Checkout with submodules
- uses: actions/checkout@v4
+ uses: actions/checkout@v5
with:
submodules: recursive
@@ -139,7 +139,7 @@ jobs:
distribution: 'graalvm'
- name: Restore Maven cache
- uses: actions/cache/restore@v4
+ uses: actions/cache/restore@v5
with:
path: ~/.m2/repository
key: ${{ needs.init-skywalking.outputs.cache-key }}
@@ -179,7 +179,7 @@ jobs:
touch "/tmp/digests/${digest#sha256:}"
- name: Upload digest
- uses: actions/upload-artifact@v4
+ uses: actions/upload-artifact@v5
with:
name: digests-${{ matrix.arch }}
path: /tmp/digests/*
@@ -196,7 +196,7 @@ jobs:
- name: Upload Docker image artifact (amd64 only)
if: matrix.arch == 'amd64'
- uses: actions/upload-artifact@v4
+ uses: actions/upload-artifact@v5
with:
name: skywalking-oap-native-image
path: /tmp/skywalking-oap-native.tar
@@ -241,12 +241,12 @@ jobs:
case: baseline
steps:
- name: Checkout with submodules
- uses: actions/checkout@v4
+ uses: actions/checkout@v5
with:
submodules: recursive
- name: Download Docker image
- uses: actions/download-artifact@v4
+ uses: actions/download-artifact@v5
with:
name: skywalking-oap-native-image
path: /tmp
@@ -263,7 +263,7 @@ jobs:
- name: Restore Maven cache (baseline mock-sender)
if: matrix.test.case == 'baseline'
- uses: actions/cache/restore@v4
+ uses: actions/cache/restore@v5
with:
path: ~/.m2/repository
key: ${{ needs.init-skywalking.outputs.cache-key }}
@@ -284,7 +284,7 @@ jobs:
- name: Upload E2E logs
if: ${{ always() }}
- uses: actions/upload-artifact@v4
+ uses: actions/upload-artifact@v5
with:
name: e2e-logs-${{ matrix.test.case }}
path: "${{ env.SW_INFRA_E2E_LOG_DIR }}"
@@ -299,7 +299,7 @@ jobs:
packages: write
steps:
- name: Download digests
- uses: actions/download-artifact@v4
+ uses: actions/download-artifact@v5
with:
path: /tmp/digests
pattern: digests-*
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index d8aa906..a463121 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -46,7 +46,7 @@ jobs:
version: ${{ steps.version.outputs.version }}
steps:
- name: Checkout with submodules
- uses: actions/checkout@v4
+ uses: actions/checkout@v5
with:
ref: ${{ env.RELEASE_REF || github.ref }}
submodules: recursive
@@ -72,7 +72,7 @@ jobs:
- name: Restore Maven cache
id: cache
- uses: actions/cache@v4
+ uses: actions/cache@v5
with:
path: ~/.m2/repository
key: ${{ steps.cache-key.outputs.key }}
@@ -100,7 +100,7 @@ jobs:
packages: write
steps:
- name: Checkout with submodules
- uses: actions/checkout@v4
+ uses: actions/checkout@v5
with:
ref: ${{ env.RELEASE_REF || github.ref }}
submodules: recursive
@@ -112,7 +112,7 @@ jobs:
distribution: 'graalvm'
- name: Restore Maven cache
- uses: actions/cache/restore@v4
+ uses: actions/cache/restore@v5
with:
path: ~/.m2/repository
key: ${{ needs.init-skywalking.outputs.cache-key }}
@@ -161,7 +161,7 @@ jobs:
echo "path=${DEST}" >> "$GITHUB_OUTPUT"
- name: Upload digest
- uses: actions/upload-artifact@v4
+ uses: actions/upload-artifact@v5
with:
name: digests-${{ matrix.arch }}
path: /tmp/digests/*
@@ -169,7 +169,7 @@ jobs:
retention-days: 1
- name: Upload native tarball
- uses: actions/upload-artifact@v4
+ uses: actions/upload-artifact@v5
with:
name: native-tarball-${{ matrix.arch }}
path: ${{ steps.rename.outputs.path }}
@@ -186,7 +186,7 @@ jobs:
packages: write
steps:
- name: Download digests
- uses: actions/download-artifact@v4
+ uses: actions/download-artifact@v5
with:
path: /tmp/digests
pattern: digests-*
@@ -220,7 +220,7 @@ jobs:
contents: write
steps:
- name: Checkout with submodules
- uses: actions/checkout@v4
+ uses: actions/checkout@v5
with:
ref: ${{ env.RELEASE_REF || github.ref }}
submodules: true
@@ -239,7 +239,7 @@ jobs:
EOF
- name: Download native tarballs
- uses: actions/download-artifact@v4
+ uses: actions/download-artifact@v5
with:
path: /tmp/tarballs
pattern: native-tarball-*