diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4f92b75..27b39de 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -45,7 +45,7 @@ jobs: run: | changed=$(ct list-changed --target-branch ${{ github.event.repository.default_branch }}) if [[ -n "$changed" ]]; then - echo "::set-output name=changed::true" + echo "changed=true" >> $GITHUB_OUTPUT fi - name: Helm - Run chart-testing (lint) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index e51fdeb..bb21b18 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -20,7 +20,7 @@ jobs: # The :11 strips the first 11 characters from the environment variable GITHUB_REF which contains refs/tags/v1.2.3 so it yields 1.2.3 - name: Set release version (i.e. tag) id: vars - run: echo ::set-output name=tag::${GITHUB_REF#refs/*/v} + run: echo "tag=${GITHUB_REF#refs/*/v}" >> $GITHUB_OUTPUT - name: Print the release version (i.e. tag) run: echo "TAG = ${{ steps.vars.outputs.tag }}"