Skip to content

Commit 6f0c1ba

Browse files
authored
Merge pull request #150 from gsteel/deprecated-set-output
Remove deprecated `set-output` action commands
2 parents 8e8a32c + c46b7f8 commit 6f0c1ba

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/build-and-push-containers.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
MAJOR="${PREFIX}:$(echo ${TAG} | cut -d. -f1)"
1717
MINOR="${MAJOR}.$(echo ${TAG} | cut -d. -f2)"
1818
PATCH="${PREFIX}:${TAG}"
19-
echo "::set-output name=tags::[\"${MAJOR}\",\"${MINOR}\",\"${PATCH}\"]"
19+
echo "tags=[\"${MAJOR}\",\"${MINOR}\",\"${PATCH}\"]" >> $GITHUB_OUTPUT
2020
2121
- name: Checkout
2222
uses: actions/checkout@v3

.github/workflows/continuous-integration.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
# This provides a dedicated "check" to asynchronously test all integration tests within the tests/ directory
2626
# The project name from the tests/ directory is then re-used within the "qa" job to run the generated "container"
2727
# within that directory.
28-
run: cd tests; echo "::set-output name=matrix::[\"$(ls -d * | tr '\n' ' ' | sed 's/ $//' | sed 's/ /\",\"/g')\"]"
28+
run: cd tests; echo "matrix=[\"$(ls -d * | tr '\n' ' ' | sed 's/ $//' | sed 's/ /\",\"/g')\"]" >> $GITHUB_OUTPUT
2929

3030
container:
3131
name: Prepare docker container

.github/workflows/create-additional-action-tags.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
TAG=${GITHUB_REF/refs\/tags\//}
1717
MAJOR="v$(echo ${TAG} | cut -d. -f1)"
1818
MINOR="${MAJOR}.$(echo ${GITHUB_REF} | cut -d. -f2)"
19-
echo "::set-output name=tags::${MAJOR}%0A${MINOR}"
19+
echo "tags=${MAJOR}%0A${MINOR}" >> $GITHUB_OUTPUT
2020
2121
update-tags:
2222
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)