Skip to content

Commit a3a5022

Browse files
committed
Add VER_SCRIPT1 and VER_SCRIPT2 environment variables
These were previously unset
1 parent 99bab18 commit a3a5022

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/conda-package.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ permissions: read-all
77
env:
88
PACKAGE_NAME: mkl_umath
99
MODULE_NAME: mkl_umath
10+
VER_SCRIPT1: "import json; f = open('ver.json', 'r'); j = json.load(f); f.close(); d = j['mkl_umath'][0];"
11+
VER_SCRIPT2: "print('='.join((d[s] for s in ('version', 'build'))))"
1012

1113
jobs:
1214
build_linux:
@@ -252,6 +254,7 @@ jobs:
252254
- name: Collect dependencies
253255
shell: cmd /C CALL {0}
254256
run: |
257+
@ECHO ON
255258
IF NOT EXIST ver.json (
256259
copy /Y ${{ env.workdir }}\ver.json .
257260
)

0 commit comments

Comments
 (0)