Skip to content

Commit b599e05

Browse files
committed
upload binaries to conan repo
1 parent 8cc5db6 commit b599e05

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

.github/workflows/android_main.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ jobs:
4747
run: conan config set general.revisions_enabled=1
4848
- name: conan repo
4949
run: conan remote add odr https://artifactory.opendocument.app/artifactory/api/conan/conan
50+
- name: conan login
51+
run: conan user --remote odr --password ${{ secrets.ARTIFACTORY }} admin
5052

5153
- name: tweak conan profile for build machine
5254
run: |
@@ -59,6 +61,9 @@ jobs:
5961
- name: gradle
6062
run: ./gradlew assembleDebug lintProDebug lintLiteDebug --stacktrace
6163

64+
- name: upload binaries to conan repo
65+
run: conan upload "*" --confirm --remote odr
66+
6267
- name: upload apks
6368
uses: actions/upload-artifact@v3
6469
with:
@@ -122,6 +127,8 @@ jobs:
122127
run: conan config set general.revisions_enabled=1
123128
- name: conan repo
124129
run: conan remote add odr https://artifactory.opendocument.app/artifactory/api/conan/conan
130+
- name: conan login
131+
run: conan user --remote odr --password ${{ secrets.ARTIFACTORY }} admin
125132

126133
- name: tweak conan profile for build machine
127134
run: |
@@ -179,6 +186,9 @@ jobs:
179186
180187
test ! -f sorry_but_tests_are_failing
181188
189+
- name: upload binaries to conan repo
190+
run: conan upload "*" --confirm --remote odr
191+
182192
- name: upload test results
183193
uses: actions/upload-artifact@v3
184194
if: always()

0 commit comments

Comments
 (0)