Skip to content

Commit 90697f4

Browse files
committed
Remove usage of deprecated set-output command
This command will stop working as of the first of June. Replaced by using the new output environment file.
1 parent 05f2862 commit 90697f4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

common/get-maven-project-version/action.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,5 @@ runs:
1919
shell: bash
2020
run: |
2121
VERSION=$(mvn -Dexpression=project.version -q -DforceStdout -f ${{ inputs.ROOT_POM_DIRECTORY }}/pom.xml help:evaluate 2>/dev/null)
22-
echo "::set-output name=version::${VERSION}"
22+
echo "version=${VERSION}" >> $GITHUB_OUTPUT
2323
echo "The maven project version is: ${VERSION}"
24-

0 commit comments

Comments
 (0)