Skip to content

Commit f87e918

Browse files
Fix: Replace deprecated set-output command with environment files approach
Co-Authored-By: Toshihiro Nakamura <[email protected]>
1 parent 636df5a commit f87e918

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949

5050
- name: Set version
5151
id: set-version
52-
run: ./gradlew properties | grep "^version:" | awk '{print $2}' | { read v; echo "::set-output name=version::$v"; }
52+
run: ./gradlew properties | grep "^version:" | awk '{print $2}' | { read v; echo "version=$v" >> $GITHUB_OUTPUT; }
5353

5454
- name: Print version
5555
run: echo ${{ steps.set-version.outputs.version }}

0 commit comments

Comments
 (0)