Skip to content

Commit 532db62

Browse files
committed
backport fix for "set-output" step
1 parent 775d684 commit 532db62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
run: ./mvnw -B -q -ff -ntp -Dversion.kotlin=${{ matrix.kotlin_version }} verify
4848
- name: Extract project Maven version
4949
id: projectVersion
50-
run: echo ::set-output name=version::$(./mvnw org.apache.maven.plugins:maven-help-plugin:3.2.0:evaluate -DforceStdout -Dexpression=project.version -q)
50+
run: echo "version=$(./mvnw org.apache.maven.plugins:maven-help-plugin:3.2.0:evaluate -DforceStdout -Dexpression=project.version -q)" >> $GITHUB_OUTPUT
5151
- name: Deploy snapshot
5252
if: github.event_name != 'pull_request' && matrix.java_version == '8' && matrix.kotlin_version == '1.6.21' && endsWith(steps.projectVersion.outputs.version, '-SNAPSHOT')
5353
env:

0 commit comments

Comments
 (0)