Skip to content

Commit 68148c9

Browse files
fty4cpanato
andauthored
docs: use GITHUB_OUTPUT in example workflow (#107)
* docs: use GITHUB_OUTPUT than set-output see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/ Signed-off-by: Marco Lecheler <[email protected]> * docs: use actions/checkout@v3 Update example workflow to use latest version of checkout Signed-off-by: Marco Lecheler <[email protected]> * fix: add quotes to GITHUB_OUTPUT Co-authored-by: Carlos Tadeu Panato Junior <[email protected]> Signed-off-by: Marco Lecheler <[email protected]> --------- Signed-off-by: Marco Lecheler <[email protected]> Co-authored-by: Carlos Tadeu Panato Junior <[email protected]>
1 parent b567af8 commit 68148c9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
runs-on: ubuntu-latest
3838
steps:
3939
- name: Checkout
40-
uses: actions/checkout@v2
40+
uses: actions/checkout@v3
4141
with:
4242
fetch-depth: 0
4343

@@ -59,7 +59,7 @@ jobs:
5959
run: |
6060
changed=$(ct list-changed --target-branch ${{ github.event.repository.default_branch }})
6161
if [[ -n "$changed" ]]; then
62-
echo "::set-output name=changed::true"
62+
echo "changed=true" >> "$GITHUB_OUTPUT"
6363
fi
6464
6565
- name: Run chart-testing (lint)

0 commit comments

Comments
 (0)