This repository was archived by the owner on Jul 17, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +14
-7
lines changed Expand file tree Collapse file tree 1 file changed +14
-7
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ author: 'TurtleBrowser'
4
4
5
5
inputs :
6
6
version :
7
- description : " Wanted conan version"
7
+ description : " Wanted Conan version"
8
8
required : false
9
9
default : ' '
10
10
@@ -16,18 +16,25 @@ outputs:
16
16
runs :
17
17
using : " composite"
18
18
steps :
19
- - name : Install setup tools
20
- run : pip3 install wheel setuptools
19
+ - name : Create virtualenv on macOS
20
+ if : ${{ runner.os == 'macOS' }}
21
+ run : |
22
+ python3 -m venv .
23
+ source ./bin/activate
24
+ shell : bash
25
+
26
+ - name : Install Python setuptools
27
+ run : python3 -m pip install wheel setuptools
21
28
shell : bash
22
29
23
- - name : Install conan latest
30
+ - name : Install Conan latest
24
31
if : ${{ inputs.version == '' }}
25
- run : pip3 install conan --upgrade
32
+ run : python3 -m pip install conan --upgrade
26
33
shell : bash
27
34
28
- - name : Install conan version ${{ inputs.version }}
35
+ - name : Install Conan version ${{ inputs.version }}
29
36
if : ${{ inputs.version != '' }}
30
- run : pip3 install conan==${{ inputs.version }} --upgrade
37
+ run : python3 -m pip install conan==${{ inputs.version }} --upgrade
31
38
shell : bash
32
39
33
40
- name : Fix path on Linux
You can’t perform that action at this time.
0 commit comments