]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
ci: Avoid using deprecated GitHub set-output command
authorJoel Rosdahl <joel@rosdahl.net>
Sat, 22 Oct 2022 11:33:37 +0000 (13:33 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Sat, 22 Oct 2022 12:38:44 +0000 (14:38 +0200)
Reference:
<https://github.blog/changelog/
2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/>

.github/workflows/build.yaml

index 49927fc91f768e070539bb184ea2ef6110e14a68..daea64bd4e36be6dc7789ab823d61d135c88da20 100644 (file)
@@ -455,7 +455,7 @@ jobs:
         run: |
           rc=0
           ci/build || rc=$?
-          echo "::set-output name=exit_status::$rc"
+          echo "exit_status=$rc" >> $GITHUB_OUTPUT
           exit $rc
         # CTest exits with return code 8 on test failure.
         continue-on-error: ${{ matrix.config.allow_test_failures == true &&