From 7779cebdcd1aecbce92c660072c00064185a95f1 Mon Sep 17 00:00:00 2001 From: Nat Goodspeed Date: Tue, 29 Aug 2023 17:55:53 -0400 Subject: SL-18837: Introduce flatten_files.py and use to post release assets --- .github/workflows/post_artifacts.py | 31 ------------------------------- 1 file changed, 31 deletions(-) delete mode 100755 .github/workflows/post_artifacts.py (limited to '.github/workflows/post_artifacts.py') diff --git a/.github/workflows/post_artifacts.py b/.github/workflows/post_artifacts.py deleted file mode 100755 index bb51feb0a9..0000000000 --- a/.github/workflows/post_artifacts.py +++ /dev/null @@ -1,31 +0,0 @@ -#!/usr/bin/env python3 -"""\ -@file post_artifacts.py -@author Nat Goodspeed -@date 2023-08-18 -@brief Unpack and post artifacts from a GitHub Actions build - -$LicenseInfo:firstyear=2023&license=viewerlgpl$ -Copyright (c) 2023, Linden Research, Inc. -$/LicenseInfo$ -""" - -import github -import json -import os -import sys - -class Error(Exception): - pass - -def main(*raw_args): - buildstr = os.getenv('BUILD') - build = json.loads(buildstr) - from pprint import pprint - pprint(build) - -if __name__ == "__main__": - try: - sys.exit(main(*sys.argv[1:])) - except Error as err: - sys.exit(str(err)) -- cgit v1.2.3