Commit dfa98f37 authored by Stephanos Ioannidis's avatar Stephanos Ioannidis
Browse files

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: default avatarStephanos Ioannidis <root@stephanos.io>
parent db747083
Loading
Loading
Loading
Loading
+3 −3
Changes for .github/workflows/codecov.yaml: 3 added lines, 3 removed lines.
Original line number Diff line number Diff line
@@ -48,7 +48,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
@@ -138,8 +138,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: |