@@ -47,26 +47,26 @@ jobs:
4747 fi
4848
4949 - name : Run chart-testing (list-changed)
50- id : list-changed
50+ id : list_changed
5151 run : |
5252 changed=$(ct list-changed --config ct.yaml --target-branch ${{ env.ct-branch}})
5353 if [[ -n "$changed" ]]; then
54- echo "changed=true" >> $GITHUB_ENV
54+ echo "changed=true" >> $GITHUB_OUTPUT
5555 fi
5656
5757 # run version check only if not dev as in dev we have a `x.y.z-dev` version
5858 # x.y.z gets bumped automatically when doing a release
5959 - name : Run chart-testing (lint)
6060 run : ct lint --config ct.yaml --target-branch ${{ env.ct-branch }} --check-version-increment=true
61- if : ${{ env .changed == 'true' && env.ct-branch != 'dev' && env.ct-branch != 'bugfix' }}
61+ if : ${{ steps.list_changed.outputs .changed == 'true' && env.ct-branch != 'dev' && env.ct-branch != 'bugfix' }}
6262
6363 # run all checks but version increment always when something changed
6464 - name : Run chart-testing (lint)
6565 run : ct lint --config ct.yaml --target-branch ${{ env.ct-branch }} --check-version-increment=false
66- if : env .changed == 'true'
66+ if : steps.list_changed.outputs .changed == 'true'
6767
6868 - name : Check update of "artifacthub.io/changes" HELM annotation
69- if : ${{ env .changed == 'true' && !(startsWith(github.head_ref, 'master-into-dev/') || startsWith(github.head_ref, 'master-into-bugfix/')) }}
69+ if : ${{ steps.list_changed.outputs .changed == 'true' && !(startsWith(github.head_ref, 'master-into-dev/') || startsWith(github.head_ref, 'master-into-bugfix/')) }}
7070 run : |
7171 # fast fail if `git show` fails
7272 set -e
@@ -95,11 +95,11 @@ jobs:
9595
9696 # - name: Create kind cluster
979798- # if: env .changed == 'true'
98+ # if: steps.list_changed.outputs .changed == 'true'
9999
100100 # - name: Run chart-testing (install)
101101 # run: ct install --config ct.yaml --target-branch ${{ env.ct-branch }} --helm-extra-args '--set createSecret=true --set createRabbitMqSecret=true --set createPostgresqlSecret=true --set timeout=900'
102- # if: env .changed == 'true'
102+ # if: steps.list_changed.outputs .changed == 'true'
103103
104104 docs_generation :
105105 name : Update documentation
0 commit comments