From 027453984c83949ca80601c4ca30890f40cd6631 Mon Sep 17 00:00:00 2001 From: Clement Tsang <34804052+ClementTsang@users.noreply.github.com> Date: Thu, 20 Oct 2022 03:49:59 -0400 Subject: [PATCH] update deprecated set-output usage (#1) --- action.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/action.yml b/action.yml index d9c5771..dd48c2e 100644 --- a/action.yml +++ b/action.yml @@ -48,13 +48,13 @@ runs: run: | # Assign inputs to variables if needed if [[ ${{inputs.use-cross}} == false ]]; then - echo "::set-output name=invoker::cargo"; + echo "invoker=cargo" >> $GITHUB_OUTPUT; else - echo "::set-output name=invoker::cross"; + echo "invoker=cross" >> $GITHUB_OUTPUT; fi if [[ -n "${{inputs.toolchain}}" ]]; then - echo "::set-output name=toolchain::+${{inputs.toolchain}}"; + echo "toolchain=+${{inputs.toolchain}}" >> $GITHUB_OUTPUT; fi - name: Install cross if required.