Fix logic on venv (#5038)
This commit is contained in:
parent
c9fedef887
commit
9f28ef6dac
|
@ -5,9 +5,10 @@ CHANGELOG
|
|||
|
||||
- Add pluginDownloadURL field to package definition
|
||||
[#4947](https://github.com/pulumi/pulumi/pull/4947)
|
||||
|
||||
- Add support for streamInvoke during update
|
||||
[#4990](https://github.com/pulumi/pulumi/pull/4990)
|
||||
|
||||
|
||||
- Add ability to copy configuration values between stacks
|
||||
[#4971](https://github.com/pulumi/pulumi/pull/4971)
|
||||
|
||||
|
@ -20,6 +21,9 @@ CHANGELOG
|
|||
- Output PDB files and enable SourceLink integration for .NET assemblies
|
||||
[#4967](https://github.com/pulumi/pulumi/pull/4967)
|
||||
|
||||
- Fix logic to parse pulumi venv on github action
|
||||
[5038](https://github.com/pulumi/pulumi/pull/5038)
|
||||
|
||||
## 2.6.1 (2020-07-09)
|
||||
|
||||
- Fix a panic in the display during CLI operations
|
||||
|
|
4
dist/actions/entrypoint.sh
vendored
4
dist/actions/entrypoint.sh
vendored
|
@ -121,12 +121,12 @@ if [ -e requirements.txt ]; then
|
|||
# Check if should use venv
|
||||
PULUMI_VENV=$(cat Pulumi.yaml | grep "virtualenv:" | cut -d':' -f2)
|
||||
if [ -z $PULUMI_VENV ]; then
|
||||
pip3 install -r requirements.txt
|
||||
else
|
||||
python3 -m venv $PULUMI_VENV
|
||||
source $PULUMI_VENV/bin/activate
|
||||
pip3 install -r requirements.txt
|
||||
deactivate
|
||||
else
|
||||
pip3 install -r requirements.txt
|
||||
fi
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue