Update build_deps.yml (check for existing directory tree and skips creation if exists) (#7337)
* Update build_deps.yml Fixes "Build on Windows" so an error isn't thrown if the working directories already exist. * Update build_deps.yml * Update build_deps.yml
This commit is contained in:
parent
302b40af22
commit
893b8cba16
1 changed files with 5 additions and 2 deletions
3
.github/workflows/build_deps.yml
vendored
3
.github/workflows/build_deps.yml
vendored
|
@ -66,8 +66,11 @@ jobs:
|
|||
working-directory: ${{ github.workspace }}
|
||||
run: |
|
||||
choco install strawberryperl
|
||||
$Folder = ${{ github.workspace }}/deps/build
|
||||
if (!(Test-Path -Path $Folder)) {
|
||||
mkdir ${{ github.workspace }}/deps/build
|
||||
mkdir ${{ github.workspace }}/deps/build/OrcaSlicer_dep
|
||||
}
|
||||
.\build_release_vs2022.bat deps
|
||||
.\build_release_vs2022.bat pack
|
||||
cd ${{ github.workspace }}/deps/build
|
||||
|
|
Loading…
Reference in a new issue