Update workspace/action.yaml
This commit is contained in:
		@@ -1,11 +1,17 @@
 | 
				
			|||||||
name: Link Workspace
 | 
					name: Link Workspace
 | 
				
			||||||
desciption: Connect persistant storage to workspace
 | 
					desciption: Connect persistant storage to workspace
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					inputs:
 | 
				
			||||||
 | 
					  key:
 | 
				
			||||||
 | 
					    type: string
 | 
				
			||||||
 | 
					    required: false
 | 
				
			||||||
 | 
					    default: ${{ github.run_id }}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
runs:
 | 
					runs:
 | 
				
			||||||
  using: composite
 | 
					  using: composite
 | 
				
			||||||
  steps:
 | 
					  steps:
 | 
				
			||||||
    - run: |
 | 
					    - run: |
 | 
				
			||||||
        PERSISTANT="/cache/workspace/${{ github.run_id }}"
 | 
					        PERSISTANT="/cache/workspace/${{ inputs.key }}"
 | 
				
			||||||
        mkdir -p "$PERSISTANT"
 | 
					        mkdir -p "$PERSISTANT"
 | 
				
			||||||
        WORKSPACE=$(pwd)
 | 
					        WORKSPACE=$(pwd)
 | 
				
			||||||
        cd ..
 | 
					        cd ..
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user