File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 77 pull_request :
88 # if you want to run this workflow, change the branch name to main,
99 # if you want to turn off it, change it to non existent branch.
10- branches : [main]
10+ branches : [main-turn-off ]
1111
1212 workflow_dispatch :
1313 inputs :
3333
3434 - name : Recreate release with artifacts
3535 env :
36- # GH_TOKEN: ${{ github.token }}
3736 GH_TOKEN : ${{ secrets.UPLOAD_LLVM }}
3837 TARGET_REPO : clice-io/clice-llvm
3938 run : python3 scripts/upload-llvm.py "${{ inputs.version }}" "${TARGET_REPO}" "${{ inputs.workflow_id }}"
Original file line number Diff line number Diff line change @@ -37,12 +37,13 @@ def parse_build_type(name: str) -> str:
3737def build_metadata_entry (path : Path , version : str ) -> dict :
3838 filename = path .name
3939 return {
40- "platform" : parse_platform (filename ),
41- "build_type" : parse_build_type (filename ),
42- "is_lto" : "-lto" in filename .lower (),
43- "filename" : filename ,
4440 "version" : version ,
41+ "filename" : filename ,
4542 "sha256" : sha256sum (path ),
43+ "lto" : "-lto" in filename .lower (),
44+ "asan" : "-asan" in filename .lower (),
45+ "platform" : parse_platform (filename ),
46+ "build_type" : parse_build_type (filename ),
4647 }
4748
4849
@@ -75,7 +76,7 @@ def main() -> None:
7576 build_metadata_entry (path , version_without_prefix ) for path in artifact_files
7677 ]
7778
78- json_path = artifacts_dir / "prebuilt- llvm.json"
79+ json_path = artifacts_dir / "llvm-manifest .json"
7980 with json_path .open ("w" , encoding = "utf-8" ) as handle :
8081 json .dump (metadata , handle , indent = 2 )
8182 handle .write ("\n " )
You can’t perform that action at this time.
0 commit comments