Jump to content

[Armbian build PR] - pipeline: output-gha-matrix: add `self_hosted` (yes/no) and `fetch_depth` (0/1)


Recommended Posts

Posted

pipeline: output-gha-matrix: add self_hosted (yes/no) and fetch_depth (0/1)

  • pipeline: output-gha-matrix: add self_hosted (yes/no) and fetch_depth (0/1)
    # For each item in chunk, check if it is going to run in a GH-hosted runner or self-hosted, and set some matrix variables
    # accordingly; self_hosted: yes/no, and more specifically, fetch_depth, which is 0 for self-hosted, and 1 for GH-hosted.
    # The reasoning for this is that git clones are much faster if not shallow on self-hosted, but much slower on GH-hosted.
    
    • self_hosted -> shosted for brevity in JSON matrix
    • fetch_depth -> fdepth for brevity in JSON matrix

View the full article

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines