Skip to content

Commit 727806f

Browse files
committed
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 <[email protected]>
1 parent ec6c9d3 commit 727806f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/twister.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,8 @@ jobs:
100100
else
101101
size=0
102102
fi
103-
echo "::set-output name=subset::${subset}";
104-
echo "::set-output name=size::${size}";
103+
echo "subset=${subset}" >> $GITHUB_OUTPUT
104+
echo "size=${size}" >> $GITHUB_OUTPUT
105105
106106
twister-build:
107107
runs-on: zephyr_runner
@@ -171,7 +171,7 @@ jobs:
171171
string(TIMESTAMP current_date "%Y-%m-%d-%H;%M;%S" UTC)
172172
string(REPLACE "/" "_" repo ${{github.repository}})
173173
string(REPLACE "-" "_" repo2 ${repo})
174-
message("::set-output name=repo::${repo2}")
174+
file(APPEND $ENV{GITHUB_OUTPUT} "repo=${repo2}\n")
175175
176176
- name: use cache
177177
id: cache-ccache

0 commit comments

Comments
 (0)