{"repo":"DeNA/setup-job-workspace-action","free":true,"listed":false,"github":"https://github.com/DeNA/setup-job-workspace-action","clone":"git clone https://github.com/DeNA/setup-job-workspace-action.git","description":"An action creating a virtual workspace directory for each job","language":"TypeScript","stars":24,"topics":["github-actions"],"license":"MIT","category":"self-hosted-apps","readme_excerpt":"setup-job-workspace-action An action creating a virtual workspace directory for each job. It is useful when using self-hosted runner with large size of repository. Usage Example Below is Unity build example. Unity build takes a long time if missing Library, so we want to keep it between jobs. This action can solve this problem by creating a virtual workspace directory per runner & workflow basis. Options See action.yml Notice Default workspace name is different for older runner version. workspace-name default is ${workflow-yaml-name}-${job-name} , but when self-hosted runner version is older than actions/runner@v2.300.0 defalut is ${workflow-name}-${job-name} . This defference comes from technical reason that how to get workflow yaml name. First, try to get yaml name from GITHUB WORKFLOW REF environment variable that exposed from runner version v2.300.0 . When this action detect runs on older runner case that like using GHES, this actions fallback to use GITHUB WORKFLOW for create default workspace-name . GITHUB WORKFLOW is equal to workflow name . If you want to keep the same workspace name between different versions of the runner or for future version upgrades, specify the workspace-name option explicitly. How it works GitHub Actions runner only has one workspace directory per repository ($GITHUB WORKSPACE). That path is defined by the repository name, for example the workspace path of this repository is /home/runner/work/setup-job-workspace-action/setup-job-workspace-actio","default_branch":null,"files":null,"tree":[],"storefront":"/r/DeNA","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/DeNA/setup-job-workspace-action/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}