Skip to content

Commit af268f0

Browse files
pascalholthausgreenbonebot
authored andcommitted
Add: timeo=600
1 parent eb2675e commit af268f0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

self-hosted-runner-cache-mount/action.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ runs:
2323
sudo apt update
2424
sudo apt install nfs-common -y
2525
sudo mkdir -p "$root_path"
26-
sudo mount -t nfs -o vers=4.1,sec=sys,sync,noac,soft,retrans=2,lock,rw ${{ inputs.server }}:/ "$root_path"
26+
sudo mount -t nfs -o vers=4.1,sec=sys,sync,noac,soft,retrans=2,timeo=600,lock,rw ${{ inputs.server }}:/ "$root_path"
2727
sudo mkdir -p "$root_path/${{ github.repository }}"
2828
sudo umount "$root_path"
2929
sudo mkdir -p '${{ inputs.path }}'
30-
sudo mount -t nfs -o vers=4.1,sec=sys,sync,noac,soft,retrans=2,lock,rw ${{ inputs.server }}:/${{ github.repository }} '${{ inputs.path }}'
30+
sudo mount -t nfs -o vers=4.1,sec=sys,sync,noac,soft,retrans=2,timeo=600,lock,rw ${{ inputs.server }}:/${{ github.repository }} '${{ inputs.path }}'

0 commit comments

Comments
 (0)