Skip to content

Commit

Permalink
Update workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
ViliusSutkus89 committed Jul 21, 2024
1 parent d7a0039 commit c8ac56d
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -204,15 +204,14 @@ jobs:

- name: conan test
run: conan test ${{ matrix.package.test_conanfile }} ${{ matrix.package.package_reference }} --build missing --profile:host ${{ matrix.config.host_profile }} --profile:build ubuntu
env:
# __pycache__ issue workaround ( https://github.com/conan-io/conan/issues/16707 )
PYTHONDONTWRITEBYTECODE: 1

- name: conan login
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 c8ac56d

Please sign in to comment.