Update workspace/action.yaml
This commit is contained in:
parent
fe26134042
commit
821ba2a40a
@ -1,7 +1,7 @@
|
|||||||
name: Load Workspace
|
name: Load Workspace
|
||||||
description: Switch to job's persistant workspace
|
description: Switch to job's persistant workspace
|
||||||
|
|
||||||
input:
|
inputs:
|
||||||
key:
|
key:
|
||||||
required: true
|
required: true
|
||||||
type: string
|
type: string
|
||||||
@ -12,8 +12,5 @@ runs:
|
|||||||
- run: |
|
- run: |
|
||||||
WORKSPACE=$(pwd)
|
WORKSPACE=$(pwd)
|
||||||
cd ..
|
cd ..
|
||||||
ln -fs "/workspace/$KEY" "$WORKSPACE"
|
ln -fs "/workspace/${{ inputs.key }}" "$WORKSPACE"
|
||||||
echo "Linked: /workspace/$KEY -> $WORKSPACE"
|
echo "Linked: /workspace/${{ inputs.key }} -> $WORKSPACE"
|
||||||
shell: bash
|
|
||||||
env:
|
|
||||||
KEY: ${{ inputs.key }}
|
|
||||||
|
Loading…
Reference in New Issue
Block a user