aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/kernel.yml
diff options
context:
space:
mode:
authorChristian Marangi <ansuelsmth@gmail.com>2022-10-21 16:09:19 +0200
committerChristian Marangi <ansuelsmth@gmail.com>2022-12-04 17:36:58 +0100
commit99524d49b4367f2e07e8b8fd9131814cc2bdcec5 (patch)
tree83d1266f8a21ea117d4fc16b5bed26d72628087e /.github/workflows/kernel.yml
parentde29c8bda75ad8a939562cd5c502c08a8bb63883 (diff)
downloadupstream-99524d49b4367f2e07e8b8fd9131814cc2bdcec5.tar.gz
upstream-99524d49b4367f2e07e8b8fd9131814cc2bdcec5.tar.bz2
upstream-99524d49b4367f2e07e8b8fd9131814cc2bdcec5.zip
CI: kernel: fix deprecation of set-output
From [0], github deprecated set-output with a better approach of appending variables to $GITHUB_OUTPUT [0] https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/ Signed-off-by: Christian Marangi <ansuelsmth@gmail.com> (cherry picked from commit 6d4bcadaa343cb969f370631a5ed5338306c056e)
Diffstat (limited to '.github/workflows/kernel.yml')
-rw-r--r--.github/workflows/kernel.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/kernel.yml b/.github/workflows/kernel.yml
index c8d30c0758..773e843bfd 100644
--- a/.github/workflows/kernel.yml
+++ b/.github/workflows/kernel.yml
@@ -35,14 +35,14 @@ jobs:
run: |
OWNER_LC=$(echo "${{ github.repository_owner }}" \
| tr '[:upper:]' '[:lower:]')
- echo "::set-output name=owner_lc::$OWNER_LC"
+ echo "owner_lc=$OWNER_LC" >> $GITHUB_OUTPUT
- name: Generate ccache hash
id: ccache_hash
run: |
CCACHE_HASH=$(md5sum include/kernel-* | awk '{ print $1 }' \
| md5sum | awk '{ print $1 }')
- echo "::set-output name=ccache_hash::$CCACHE_HASH"
+ echo "ccache_hash=$CCACHE_HASH" >> $GITHUB_OUTPUT
- name: Set targets
id: find_targets
@@ -64,7 +64,7 @@ jobs:
echo "$JSON"
echo -e "\n---- targets ----\n"
- echo "::set-output name=target::$JSON"
+ echo "target=$JSON" >> $GITHUB_OUTPUT
build:
name: Build Kernel with external toolchain