diff --git a/.github/workflows/on-safe-to-test-label.yml b/.github/workflows/on-safe-to-test-label.yml index d499d524..903bebd4 100644 --- a/.github/workflows/on-safe-to-test-label.yml +++ b/.github/workflows/on-safe-to-test-label.yml @@ -92,9 +92,10 @@ jobs: echo PATH=$PATH >> $GITHUB_ENV - name: Setup Cache variables id: go-cache-paths + shell: bash run: | - echo "::set-output name=go-build::${{ env.GOCACHE }}" - echo "::set-output name=go-mod::${{ env.GOMODCACHE }}" + echo "go-build=${{ env.GOCACHE }}" >> $GITHUB_OUTPUT + echo "go-mod=${{ env.GOMODCACHE }}" >> $GITHUB_OUTPUT - name: Go-Build Cache # Cache go build cache, used to speedup go test uses: actions/cache@v3 with: diff --git a/.github/workflows/sync.yml b/.github/workflows/sync.yml index adaccc0a..a4b601ed 100644 --- a/.github/workflows/sync.yml +++ b/.github/workflows/sync.yml @@ -71,11 +71,11 @@ jobs: changed_charts=$( (echo $FILES | grep -q -E "${CHARTS_DIR}/[[:graph:]]*\.yaml" && echo true) || echo false ) if $changed_config && ! $changed_charts; then - echo "::set-output name=result::config" + echo "result=config" >> $GITHUB_OUTPUT elif $changed_charts && ! $changed_config; then - echo "::set-output name=result::charts" + echo "result=charts" >> $GITHUB_OUTPUT else - echo "::set-output name=result::both" + echo "result=both" >> $GITHUB_OUTPUT fi - name: Copy changed config CRDs to chart