From c952173edf28a2bd22e1a4926590c1ac39630461 Mon Sep 17 00:00:00 2001 From: Thomas Boop <52323235+thboop@users.noreply.github.com> Date: Wed, 30 Sep 2020 11:41:09 -0400 Subject: [PATCH] Swap to Environment Files (#360) --- __test__/override-git-version.cmd | 2 +- __test__/override-git-version.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/__test__/override-git-version.cmd b/__test__/override-git-version.cmd index 413bc41..64c7f4d 100755 --- a/__test__/override-git-version.cmd +++ b/__test__/override-git-version.cmd @@ -2,5 +2,5 @@ mkdir override-git-version cd override-git-version echo @echo override git version 1.2.3 > git.cmd -echo ::add-path::%CD% +echo "%CD%" >> $GITHUB_PATH cd .. diff --git a/__test__/override-git-version.sh b/__test__/override-git-version.sh index 25898e6..7c3ca01 100755 --- a/__test__/override-git-version.sh +++ b/__test__/override-git-version.sh @@ -5,5 +5,5 @@ cd override-git-version echo "#!/bin/sh" > git echo "echo override git version 1.2.3" >> git chmod +x git -echo "::add-path::$(pwd)" +echo "$(pwd)" >> $GITHUB_PATH cd ..