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: Stephanos Ioannidis <root@stephanos.io>
This commit is contained in:
parent
d9e8132ecc
commit
c7d96253c0
|
@ -106,9 +106,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
|
||||
|
@ -184,7 +184,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
|
||||
|
|
Loading…
Reference in New Issue