Skip to content

Commit 8bde57c

Browse files
ci: avoid GH runner bug about workspaces
see issue actions/checkout#785
1 parent 2dd7cb2 commit 8bde57c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

action.yaml

+5-1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ inputs:
1515
description: 'compiler version (this may depends on the compiler provider)'
1616
type: string
1717
required: true
18+
workspace:
19+
description: 'current workspace path value (see GH checkout issue #785'
20+
type: string
21+
required: true
1822

1923
runs:
2024
using: 'composite'
@@ -36,5 +40,5 @@ runs:
3640
- name: Link toolchain dir to predictable path in container
3741
run: |
3842
source=$(dirname $TOOLCHAIN_PATH)
39-
ln -s $source ${{ github.workspace}}/${{ inputs.triple }}
43+
ln -s $source ${{ inputs.workspace }}/${{ inputs.triple }}
4044
shell: bash

0 commit comments

Comments
 (0)