Skip to content

Commit

Permalink
update deprecated set-output usage (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
ClementTsang authored Oct 20, 2022
1 parent b9663ba commit 0274539
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 0274539

Please sign in to comment.