From c46b7f83beb6490b0cf90f688178e6026de342ba Mon Sep 17 00:00:00 2001 From: George Steel Date: Mon, 14 Nov 2022 09:27:16 +0000 Subject: [PATCH] Remove deprecated `set-output` action commands `actions/core` is already at `^1.10` so only the workflows require updating to use the new environment files Signed-off-by: George Steel --- .github/workflows/build-and-push-containers.yml | 2 +- .github/workflows/continuous-integration.yml | 2 +- .github/workflows/create-additional-action-tags.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-and-push-containers.yml b/.github/workflows/build-and-push-containers.yml index b176499f..8d775585 100644 --- a/.github/workflows/build-and-push-containers.yml +++ b/.github/workflows/build-and-push-containers.yml @@ -16,7 +16,7 @@ jobs: MAJOR="${PREFIX}:$(echo ${TAG} | cut -d. -f1)" MINOR="${MAJOR}.$(echo ${TAG} | cut -d. -f2)" PATCH="${PREFIX}:${TAG}" - echo "::set-output name=tags::[\"${MAJOR}\",\"${MINOR}\",\"${PATCH}\"]" + echo "tags=[\"${MAJOR}\",\"${MINOR}\",\"${PATCH}\"]" >> $GITHUB_OUTPUT - name: Checkout uses: actions/checkout@v3 diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 54d82947..dee08576 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -25,7 +25,7 @@ jobs: # This provides a dedicated "check" to asynchronously test all integration tests within the tests/ directory # The project name from the tests/ directory is then re-used within the "qa" job to run the generated "container" # within that directory. - run: cd tests; echo "::set-output name=matrix::[\"$(ls -d * | tr '\n' ' ' | sed 's/ $//' | sed 's/ /\",\"/g')\"]" + run: cd tests; echo "matrix=[\"$(ls -d * | tr '\n' ' ' | sed 's/ $//' | sed 's/ /\",\"/g')\"]" >> $GITHUB_OUTPUT container: name: Prepare docker container diff --git a/.github/workflows/create-additional-action-tags.yml b/.github/workflows/create-additional-action-tags.yml index 697e2f71..662c9b32 100644 --- a/.github/workflows/create-additional-action-tags.yml +++ b/.github/workflows/create-additional-action-tags.yml @@ -16,7 +16,7 @@ jobs: TAG=${GITHUB_REF/refs\/tags\//} MAJOR="v$(echo ${TAG} | cut -d. -f1)" MINOR="${MAJOR}.$(echo ${GITHUB_REF} | cut -d. -f2)" - echo "::set-output name=tags::${MAJOR}%0A${MINOR}" + echo "tags=${MAJOR}%0A${MINOR}" >> $GITHUB_OUTPUT update-tags: runs-on: ubuntu-latest