Skip to content

Commit

Permalink
Add conan client __pycache__ issue workaround - conan-io/conan#16707
Browse files Browse the repository at this point in the history
  • Loading branch information
ViliusSutkus89 committed Jul 21, 2024
1 parent 037812d commit cb45a60
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,10 @@ jobs:
if: github.ref == 'refs/heads/main' || github.event_name == 'workflow_dispatch' && github.event.inputs.upload_to_artifactory == 'true'
run: conan remote login odr admin --password ${{ secrets.ARTIFACTORY }}

# https://github.com/conan-io/conan/issues/16707
- name: __pycache__ issue workaround
run: find ~/.conan2 -type d -name __pycache__ -exec rm -r {} +

- name: conan upload
if: github.ref == 'refs/heads/main' || github.event_name == 'workflow_dispatch' && github.event.inputs.upload_to_artifactory == 'true'
run: conan upload "*" --check --confirm --remote odr
Expand Down

0 comments on commit cb45a60

Please sign in to comment.