Skip to content

Commit 9fc8230

Browse files
Merge pull request #979 from lukaszstolarczuk/fix-conda-workflow
[CI] Clean up after conda init in cmake.yml
2 parents 659d3f4 + 6c832ba commit 9fc8230

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/cmake.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,12 @@ jobs:
265265
working-directory: ${{github.workspace}}/build
266266
run: bin/codegen
267267

268+
# conda init adds content to user's profile making it failing (if conda is gone)
269+
- name: Cleanup after conda init
270+
run: |
271+
cat ${HOME}/.profile || true
272+
rm ${HOME}/.profile || true
273+
268274
windows-build:
269275
name: Build - Windows
270276
strategy:

0 commit comments

Comments
 (0)