File tree 1 file changed +15
-13
lines changed 1 file changed +15
-13
lines changed Original file line number Diff line number Diff line change 60
60
- ubuntu-latest
61
61
- windows-latest
62
62
python-version :
63
- # - 3.7
64
- # - 3.8
63
+ - 3.7
64
+ - 3.8
65
65
- 3.9
66
66
- " 3.10"
67
67
steps :
@@ -186,8 +186,8 @@ jobs:
186
186
- ubuntu-latest
187
187
- windows-latest
188
188
python-version :
189
- # - 3.7
190
- # - 3.8
189
+ - 3.7
190
+ - 3.8
191
191
- 3.9
192
192
- " 3.10"
193
193
steps :
@@ -208,20 +208,22 @@ jobs:
208
208
sudo add-apt-repository multiverse
209
209
sudo apt update
210
210
sudo apt install libssl-dev libcurl4-openssl-dev zlib1g-dev
211
- - name : Setup msbuild on Windows
212
- if : startsWith( matrix.os, 'windows' )
213
-
214
- - name : Set up Visual Studio shell
215
- if : startsWith( matrix.os, 'windows' )
216
- uses : egor-tensin/vs-shell@v2
217
- with :
218
- arch : x64
211
+ - name : Determine if build AWSSDK
212
+ run : |
213
+ if [[ startsWith( matrix.os, 'windows' ) ]]; then
214
+ BUILD_S3=0
215
+ else
216
+ BUILD_S3=1
217
+ fi
218
+ done
219
+ echo "::set-output name=value::$BUILD_S3"
220
+ id : build_s3
219
221
- name : Build TorchData for Conda
220
222
shell : bash -l {0}
221
223
env :
222
224
PYTHON_VERSION : ${{ matrix.python-version }}
223
225
PYTORCH_VERSION : ${{ inputs.pytorch_version }}
224
- BUILD_S3 : 1
226
+ BUILD_S3 : steps.build_s3.outputs.value
225
227
run : |
226
228
conda activate conda_build_env
227
229
conda install -yq conda-build -c conda-forge
You can’t perform that action at this time.
0 commit comments