Skip to content

Commit 8702f53

Browse files
author
TheSnoozer
committed
The set-env command is disabled. Please upgrade to using Environment Files or opt into unsecure command execution by setting the ACTIONS_ALLOW_UNSECURE_COMMANDS environment variable to true. For more information see: https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/
1 parent 28737bb commit 8702f53

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/default-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,9 @@ jobs:
7373
mvn -version;
7474
fi'
7575
- name: Setup M2_HOME Environment variable
76-
run: echo "::set-env name=M2_HOME::${PWD}/apache-maven-${{ matrix.maven_version }}"
76+
run: echo "M2_HOME=${PWD}/apache-maven-${{ matrix.maven_version }}" >> $GITHUB_ENV
7777
- name: Setup System Path to use the custom Maven
78-
run: echo "::add-path::${M2_HOME}/bin"
78+
run: echo "${M2_HOME}/bin" >> $GITHUB_PATH
7979
- name: Cache local Maven repository
8080
uses: actions/cache@v1
8181
with:

0 commit comments

Comments
 (0)