boostorg / core

Boost Core Utilities
132 stars 86 forks source link

Small GHA fix, create destination dir #93

Closed sdarwin closed 2 years ago

sdarwin commented 2 years ago

Earlier, I copied ci.yml from boostorg/core to boostorg/boost-ci where it can be used as a template when setting up new boost libraries. Discovered a problem - if a new library doesn't yet exist in boost, the lib directory won't exist, and a copy will fail. So, create the directory first. It would be convenient to backport the change upstream, here. Or even to any repo that might later be used as an example.

Lastique commented 2 years ago

Is a similar fix needed for Windows?

pdimov commented 2 years ago

No, the backslash at the end of xcopy /s /e /q %GITHUB_WORKSPACE% libs\%LIBRARY%\ creates the directory if it doesn't exist.

Lastique commented 2 years ago

Thanks.