From 60a2ad0efc1fc2effea5dd25f3094efa1e799651 Mon Sep 17 00:00:00 2001 From: Peter Njeim Date: Fri, 9 Dec 2022 22:28:27 -0400 Subject: [PATCH] Update extractWSA.py --- scripts/extractWSA.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/extractWSA.py b/scripts/extractWSA.py index 9a5eedd..c3818bd 100644 --- a/scripts/extractWSA.py +++ b/scripts/extractWSA.py @@ -53,6 +53,8 @@ with zipfile.ZipFile(wsa_zip_path) as zip: environ_file.write(f'WSA_VER={long_ver}\n') environ_file.write(f'WSA_MAIN_VER={main_ver}\n') environ_file.write(f'WSA_REL={rel_long}\n') + with open(os.environ['GITHUB_ENV'], 'a') as environ_file: + environ_file.write(f'WSA_VER={long_ver}\n') if 'language' in f.filename.lower() or 'scale' in f.filename.lower(): name = f.filename.split("-", 1)[1].split(".")[0] zip.extract(f, workdir)