CI: kernel: fix deprecation of set-output
[openwrt/staging/hauke.git] / .github / workflows / kernel.yml
index c8d30c075891049f6561935ccb199616ebae57e5..773e843bfda192762b3f0bfaa00d1405aae199a5 100644 (file)
@@ -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