diff --git a/.github/workflows/android_main.yml b/.github/workflows/android_main.yml index 7b3b567423ed..aa7a28de6319 100644 --- a/.github/workflows/android_main.yml +++ b/.github/workflows/android_main.yml @@ -45,8 +45,13 @@ jobs: - name: conan config run: conan config set general.revisions_enabled=1 - - name: conan repo - run: conan remote add odr https://artifactory.opendocument.app/artifactory/api/conan/conan + - name: conan remote + run: | + conan remote clean + conan remote add odr https://artifactory.opendocument.app/artifactory/api/conan/conan + conan remote add conancenter https://center.conan.io + - name: conan login + run: conan user --remote odr --password ${{ secrets.ARTIFACTORY }} admin - name: tweak conan profile for build machine run: | @@ -59,6 +64,9 @@ jobs: - name: gradle run: ./gradlew assembleDebug lintProDebug lintLiteDebug --stacktrace + - name: upload binaries to conan repo + run: conan upload "*" --remote odr --confirm --all --no-overwrite all + - name: upload apks uses: actions/upload-artifact@v3 with: @@ -120,8 +128,13 @@ jobs: - name: conan config run: conan config set general.revisions_enabled=1 - - name: conan repo - run: conan remote add odr https://artifactory.opendocument.app/artifactory/api/conan/conan + - name: conan remote + run: | + conan remote clean + conan remote add odr https://artifactory.opendocument.app/artifactory/api/conan/conan + conan remote add conancenter https://center.conan.io + - name: conan login + run: conan user --remote odr --password ${{ secrets.ARTIFACTORY }} admin - name: tweak conan profile for build machine run: | @@ -179,6 +192,9 @@ jobs: test ! -f sorry_but_tests_are_failing + - name: upload binaries to conan repo + run: conan upload "*" --remote odr --confirm --all --no-overwrite all + - name: upload test results uses: actions/upload-artifact@v3 if: always()