Skip to content

Commit 7b44ae6

Browse files
authored
Merge pull request #52 from actions/set-output
Deprecate set-output
2 parents 55cb9c5 + eb5eb8e commit 7b44ae6

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

.github/workflows/docker-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
else
4444
tags=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.ref_name }}
4545
fi
46-
echo "::set-output name=tags::$tags"
46+
echo "tags=$tags" >> $GITHUB_OUTPUT
4747
- name: Extract Docker metadata
4848
id: meta
4949
uses: docker/metadata-action@v3

.github/workflows/record.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
id: grep-image-content
2222
run: |
2323
image=$(grep -E "jekyll-build-pages.*\'" action.yml)
24-
echo "::set-output name=image::$image"
24+
echo "image=$image" >> $GITHUB_OUTPUT
2525
- uses: actions-ecosystem/action-regex-match@v2
2626
id: regex-match
2727
with:

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
id: grep-image-content
2727
run: |
2828
image=$(grep -E "jekyll-build-pages.*\'" action.yml)
29-
echo "::set-output name=image::$image"
29+
echo "image=$image" >> $GITHUB_OUTPUT
3030
- uses: actions-ecosystem/action-regex-match@v2
3131
id: regex-match
3232
with:

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
id: grep-image-content
2828
run: |
2929
image=$(grep -E "jekyll-build-pages.*\'" action.yml)
30-
echo "::set-output name=image::$image"
30+
echo "image=$image" >> $GITHUB_OUTPUT
3131
- uses: actions-ecosystem/action-regex-match@v2
3232
id: regex-match
3333
with:

0 commit comments

Comments
 (0)