mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-16 13:24:02 +02:00
Customize ghactions job names
This commit is contained in:
10
.github/prepare.py
vendored
10
.github/prepare.py
vendored
@@ -138,6 +138,15 @@ for arch, platform, libc, statdyn, bplatform, runso
|
||||
]:
|
||||
if priority < do_priority:
|
||||
continue
|
||||
job_name = f'build'
|
||||
if starcatcher:
|
||||
job_name += f'+target=starcatcher-{starcatcher}'
|
||||
else:
|
||||
job_name += f'+target={arch}-{platform}-{libc}-{statdyn}-{dbgrel}'
|
||||
if mode:
|
||||
job_name += f'+mode={mode}'
|
||||
if bplatform != platform:
|
||||
job_name += f'+bplatform={bplatform}'
|
||||
if not mode:
|
||||
mode = 'default'
|
||||
separate_debug = True
|
||||
@@ -178,6 +187,7 @@ for arch, platform, libc, statdyn, bplatform, runso
|
||||
'asset_name': asset_name,
|
||||
'debug_asset_path': debug_asset_path,
|
||||
'debug_asset_name': debug_asset_name,
|
||||
'job_name': job_name,
|
||||
})
|
||||
if publish:
|
||||
publish_matrix.append({
|
||||
|
Reference in New Issue
Block a user