Skip to content

Commit 376436a

Browse files
author
Armin Schrenk
authored
Replace deprecated set-env command
1 parent d07de97 commit 376436a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
id: setversion
3434
run: |
3535
v=$(mvn help:evaluate "-Dexpression=project.version" -q -DforceStdout)
36-
echo "::set-env name=BUILD_VERSION::${v}"
36+
echo "BUILD_VERSION=${v}" >> $GITHUB_ENV
3737
echo "::set-output name=version::${v}"
3838
- name: Build and Test
3939
run: mvn -B install

0 commit comments

Comments
 (0)