fix(github): Remove deprecated set-output from github-actions

Warning in GitHub Actions:

```
Warning: The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Warning: The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
```

Signed-off-by: jmeridth <jmeridth@gmail.com>
This commit is contained in:
jmeridth 2023-02-24 08:35:49 -06:00
parent 88b92909e6
commit cdc8515401
No known key found for this signature in database
GPG key ID: 246606CF636B3F68

View file

@ -38,8 +38,8 @@ jobs:
changed=$(ct --config ./.github/configs/ct-lint.yaml list-changed)
charts=$(echo "$changed" | tr '\n' ' ' | xargs)
if [[ -n "$changed" ]]; then
echo "::set-output name=changed::true"
echo "::set-output name=changed_charts::$charts"
echo "changed=true" >> $GITHUB_STATE
echo "changed_charts=$charts" >> $GITHUB_STATE
fi
- name: Run chart-testing (lint)