File tree Expand file tree Collapse file tree 1 file changed +3
-10
lines changed Expand file tree Collapse file tree 1 file changed +3
-10
lines changed Original file line number Diff line number Diff line change @@ -102,16 +102,9 @@ jobs:
102
102
echo 'CMake target: ${{ matrix.cmake_target }}'
103
103
echo 'Config name: ${{ matrix.config_name }}'
104
104
105
- - name : Clean workspace (MacOS)
106
- if : ${{ inputs.os == 'macos' }}
107
- run : |
108
- WORKSPACE=${{ github.workspace }}
109
- echo "Cleaning workspace '${WORKSPACE}'."
110
- if [ -z "${WORKSPACE}" ] || [ "${WORKSPACE}" = "/" ]; then
111
- echo "Invalid working directory '${WORKSPACE}'."
112
- exit 1
113
- fi
114
- find "${WORKSPACE}" -depth 1 | xargs rm -rfv
105
+ - name : Cleanup workspace
106
+ if : ${{ runner.os == 'macOS' }}
107
+ uses : XRPLF/actions/.github/actions/cleanup-workspace@3f044c7478548e3c32ff68980eeb36ece02b364e
115
108
116
109
- name : Checkout repository
117
110
uses : actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
You can’t perform that action at this time.
0 commit comments