From f097442d06220f6e0e7cd8ec73053d088c803c26 Mon Sep 17 00:00:00 2001 From: timo Date: Tue, 17 Sep 2024 00:03:30 +0200 Subject: [PATCH] Use `$GITHUB_OUTPUT` instead of `::set-output` https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/ The deprecation has been postponed, but that doesn't mean it won't come ... --- .github/workflows/test-docker-image.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-docker-image.yml b/.github/workflows/test-docker-image.yml index e2551ea..6adc32f 100644 --- a/.github/workflows/test-docker-image.yml +++ b/.github/workflows/test-docker-image.yml @@ -18,7 +18,7 @@ jobs: - id: set-version run: | RAKU_VERSION=$(ls -A -d * | egrep '^[0-9]{4}.[0-9]{2}$') - echo "::set-output name=version::$RAKU_VERSION" + echo "version=$RAKU_VERSION" >> $GITHUB_OUTPUT echo "raku version: $RAKU_VERSION" - id: set-matrix run: | @@ -34,7 +34,7 @@ jobs: } print join(",",@arr) ') - echo "::set-output name=matrix::[$LIST_DIR]" + echo "matrix=[$LIST_DIR]" >> $GITHUB_OUTPUT echo "base image list: [$LIST_DIR]" build: needs: setup