You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ma...@apache.org on 2020/10/23 14:06:45 UTC
[maven] 01/01: [MNG-7004] Replacing set-env in the GitHub Actions
workflow with the new way to set environment variables,
since set-env is deprecated.
This is an automated email from the ASF dual-hosted git repository.
martinkanters pushed a commit to branch MNG-7004-refactor-github-actions-environment-variables
in repository https://gitbox.apache.org/repos/asf/maven.git
commit 5b434d5670aeb04d3cf2b4bea9bfbad01e942074
Author: Martin Kanters <ma...@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