Skip to content

Commit 559124e

Browse files
authored
Merge pull request #131 from per1234/migrate-set-output
Migrate workflows from deprecated `set-output` commands
2 parents a9195f5 + bc437e4 commit 559124e

6 files changed

+6
-6
lines changed

.github/workflows/check-go-dependencies-task.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
RESULT="false"
5858
fi
5959
60-
echo "::set-output name=result::$RESULT"
60+
echo "result=$RESULT" >> $GITHUB_OUTPUT
6161
6262
check-cache:
6363
needs: run-determination

.github/workflows/check-go-task.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
RESULT="false"
5252
fi
5353
54-
echo "::set-output name=result::$RESULT"
54+
echo "result=$RESULT" >> $GITHUB_OUTPUT
5555
5656
check-errors:
5757
name: check-errors (${{ matrix.module.path }})

.github/workflows/check-license.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
RESULT="false"
5656
fi
5757
58-
echo "::set-output name=result::$RESULT"
58+
echo "result=$RESULT" >> $GITHUB_OUTPUT
5959
6060
check-license:
6161
needs: run-determination

.github/workflows/check-markdown-task.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
RESULT="false"
6060
fi
6161
62-
echo "::set-output name=result::$RESULT"
62+
echo "result=$RESULT" >> $GITHUB_OUTPUT
6363
6464
lint:
6565
needs: run-determination

.github/workflows/check-yaml-task.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969
RESULT="false"
7070
fi
7171
72-
echo "::set-output name=result::$RESULT"
72+
echo "result=$RESULT" >> $GITHUB_OUTPUT
7373
7474
check:
7575
name: ${{ matrix.configuration.name }}

.github/workflows/sync-labels-npm.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ jobs:
119119
run: |
120120
# Use of this flag in the github-label-sync command will cause it to only check the validity of the
121121
# configuration.
122-
echo "::set-output name=flag::--dry-run"
122+
echo "flag=--dry-run" >> $GITHUB_OUTPUT
123123
124124
- name: Checkout repository
125125
uses: actions/checkout@v4

0 commit comments

Comments
 (0)