Skip to content

Commit

Permalink
Merge pull request #150 from gsteel/deprecated-set-output
Browse files Browse the repository at this point in the history
Remove deprecated `set-output` action commands
  • Loading branch information
Ocramius authored Nov 14, 2022
2 parents 8e8a32c + c46b7f8 commit 6f0c1ba
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-push-containers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/create-additional-action-tags.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6f0c1ba

Please sign in to comment.