Commit 1c865de9 authored by Stephanos Ioannidis's avatar Stephanos Ioannidis
Browse files

ci: twister: Use output parameter file

This commit updates the workflow to use the output parameter file
(`GITHUB_OUTPUT`) instead of the stdout-based output parameter setting,
which is now deprecated by GitHub and will be removed in the near
future.

Signed-off-by: default avatarStephanos Ioannidis <root@stephanos.io>
parent bccccb4c
Loading
Loading
Loading
Loading
+4 −4
Changes for .github/workflows/twister.yaml: 4 added lines, 4 removed lines.
Original line number Diff line number Diff line
@@ -97,9 +97,9 @@ jobs:
          else
            size=0
          fi
          echo "::set-output name=subset::${subset}";
          echo "::set-output name=size::${size}";
          echo "::set-output name=fullrun::${TWISTER_FULL}";
          echo "subset=${subset}" >> $GITHUB_OUTPUT
          echo "size=${size}" >> $GITHUB_OUTPUT
          echo "fullrun=${TWISTER_FULL}" >> $GITHUB_OUTPUT

  twister-build:
    runs-on: zephyr_runner
@@ -170,7 +170,7 @@ jobs:
          string(TIMESTAMP current_date "%Y-%m-%d-%H;%M;%S" UTC)
          string(REPLACE "/" "_" repo ${{github.repository}})
          string(REPLACE "-" "_" repo2 ${repo})
          message("::set-output name=repo::${repo2}")
          file(APPEND $ENV{GITHUB_OUTPUT} "repo=${repo2}\n")

      - name: use cache
        id: cache-ccache