mirror of
https://code.forgejo.org/actions/checkout
synced 2024-11-20 14:25:06 +08:00
Swap to Environment Files (#360)
This commit is contained in:
parent
a81bbbf829
commit
c952173edf
2 changed files with 2 additions and 2 deletions
|
@ -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 ..
|
||||
|
|
|
@ -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 ..
|
||||
|
|
Loading…
Reference in a new issue