fix(github): Replace deprecated set-output from github-actions (#1860)

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:
Jason Meridth 2023-02-24 18:26:24 -06:00 committed by GitHub
parent f66c40319a
commit 4f48352af1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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