replacing set-env with new environment syntax (#48)

* replacing set-env with new environment syntax
* using direct append to file for set_env instead of os.system
Signed-off-by: vsoch <vsochat@stanford.edu>
This commit is contained in:
Vanessasaurus
2020-11-17 08:33:29 -07:00
committed by GitHub
parent c39853dfde
commit c761be135f
4 changed files with 71 additions and 8 deletions

View File

@@ -40,7 +40,7 @@ jobs:
git push origin "${BRANCH_FROM}"
fi
# Here is where we are setting the environment variable!
echo "::set-env name=PULL_REQUEST_FROM_BRANCH::${BRANCH_FROM}"
echo "PULL_REQUEST_FROM_BRANCH=${BRANCH_FROM}" >> $GITHUB_ENV
- name: Open Pull Request
uses: vsoch/pull-request-action@1.0.6