Skip to content

Commit e97b58b

Browse files
authored
Update set-output command in workflows (#6058)
`set-output` command has been deprecated and warning messages are printed within the logs. See more [here](https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/)
1 parent 77f71b8 commit e97b58b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/ci-examples.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
run: |
4040
TASKS=$(./gradlew --no-daemon --parallel -q testMatrix)
4141
echo $TASKS
42-
echo "::set-output name=matrix::{\"gradle_args\":$TASKS}"
42+
echo "matrix={\"gradle_args\":$TASKS}" >> $GITHUB_OUTPUT
4343
check:
4444
needs: find_gradle_jobs
4545
strategy:

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
run: |
3838
TASKS=$(./gradlew --no-daemon --parallel -q testMatrix)
3939
echo $TASKS
40-
echo "::set-output name=matrix::{\"gradle_args\":$TASKS}"
40+
echo "matrix={\"gradle_args\":$TASKS}" >> $GITHUB_OUTPUT
4141
check:
4242
needs: [find_gradle_jobs]
4343
strategy:

0 commit comments

Comments
 (0)