Skip to content

Commit 437d0c8

Browse files
committed
Work around 'dirty' working directory in deploy script
- GitHub Actions likely don't allow activity outside working directory - conan create doesn't (by default) allow scm to do its thing if there are changes in the working directory
1 parent 7e292ec commit 437d0c8

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/deploy

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,5 +65,8 @@ popd
6565
conan remote add johnmcfarlane/cnl https://api.bintray.com/conan/johnmcfarlane/cnl
6666
conan user -p "${CONAN_PASS}" -r johnmcfarlane/cnl "${CONAN_USER}"
6767
conan install --build=missing "${PROJECT_DIR}"
68-
conan create "${PROJECT_DIR}" "cnl/${CNL_VERSION}@johnmcfarlane/${CNL_CHANNEL}"
68+
conan create \
69+
--ignore-dirty \
70+
"${PROJECT_DIR}" \
71+
"cnl/${CNL_VERSION}@johnmcfarlane/${CNL_CHANNEL}"
6972
conan upload "cnl/${CNL_VERSION}@johnmcfarlane/${CNL_CHANNEL}" -r johnmcfarlane/cnl

0 commit comments

Comments
 (0)