From 74e9e09f8ae1af64e0e54dee144d9576ba9e9aaa Mon Sep 17 00:00:00 2001 From: Stephanos Ioannidis Date: Fri, 14 Oct 2022 02:34:20 +0900 Subject: [PATCH] ci: codecov: 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 --- .github/workflows/codecov.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/codecov.yaml b/.github/workflows/codecov.yaml index e711ea3c6a..56a5b74727 100644 --- a/.github/workflows/codecov.yaml +++ b/.github/workflows/codecov.yaml @@ -54,7 +54,7 @@ jobs: run: | 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 @@ -144,8 +144,8 @@ jobs: set(MERGELIST "${MERGELIST} -a ${f}") endif() endforeach() - message("::set-output name=mergefiles::${MERGELIST}") - message("::set-output name=covfiles::${FILELIST}") + file(APPEND $ENV{GITHUB_OUTPUT} "mergefiles=${MERGELIST}\n") + file(APPEND $ENV{GITHUB_OUTPUT} "covfiles=${FILELIST}\n") - name: Merge coverage files run: |