mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-06 06:04:33 +02:00
ci: fix master pipeline artifacts downloading
This commit is contained in:
@@ -146,6 +146,10 @@ PRESIGNED_JSON = 'presigned.json'
|
|||||||
def app_downloader(
|
def app_downloader(
|
||||||
pipeline_id: t.Optional[str],
|
pipeline_id: t.Optional[str],
|
||||||
) -> t.Optional[AppDownloader]:
|
) -> t.Optional[AppDownloader]:
|
||||||
|
if commit_sha := os.getenv('PIPELINE_COMMIT_SHA'):
|
||||||
|
logging.debug('pipeline commit sha from CI env is %s', commit_sha)
|
||||||
|
return AppDownloader(commit_sha, None)
|
||||||
|
|
||||||
if not pipeline_id:
|
if not pipeline_id:
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user