0
0
Fork 0
mirror of https://github.com/actions/checkout.git synced 2024-12-25 06:13:30 +01:00

Swap to Environment Files (#360)

This commit is contained in:
Thomas Boop 2020-09-30 11:41:09 -04:00 committed by GitHub
parent a81bbbf829
commit c952173edf
Failed to generate hash of commit
2 changed files with 2 additions and 2 deletions

View file

@ -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 ..

View file

@ -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 ..