This is an automated email from the ASF dual-hosted git repository.

martinkanters pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven.git


The following commit(s) were added to refs/heads/master by this push:
     new d98844c  [MNG-7004] Replacing set-env in the GitHub Actions workflow 
with the new way to set environment variables, since set-env is deprecated.
d98844c is described below

commit d98844cfdfe7abfcaa1177636066dc29fd56ddd3
Author: Martin Kanters <martinkant...@apache.org>
AuthorDate: Fri Oct 23 16:06:14 2020 +0200

    [MNG-7004] Replacing set-env in the GitHub Actions workflow with the new 
way to set environment variables, since set-env is deprecated.
---
 .github/workflows/maven.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index 0dd06c3..2af8566 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -100,8 +100,8 @@ jobs:
           else
             echo "Integration tests will run against $target_user/$repo for 
master builds."
           fi
-          echo "::set-env name=REPO_BRANCH::$target_branch"
-          echo "::set-env name=REPO_USER::$target_user"
+          echo "REPO_BRANCH=$target_branch" >> $GITHUB_ENV
+          echo "REPO_USER=$target_user" >> $GITHUB_ENV
 
       - name: Checkout maven-integration-testing
         uses: actions/checkout@v2

Reply via email to