Jump to content

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


RSS Bot

Recommended Posts

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

Link to comment
Share on other sites

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines