Skip to content

Commit e42e1bb

Browse files
1
1 parent 1833311 commit e42e1bb

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

.github/workflows/rebuildDependencies.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,8 @@ jobs:
126126

127127
- name: Build recipes with our patches
128128
run: |
129+
echo "CONAN_HOME=$(conan config home)" >> $GITHUB_ENV
130+
echo "UPLOAD_QT=1" >> $GITHUB_ENV
129131
set -x
130132
cciRepo='conan-center-index'
131133
branchName='master'
@@ -180,6 +182,15 @@ jobs:
180182
# Windows workaround for https://bugreports.qt.io/browse/QTBUG-84543
181183
PATH="/c/Strawberry/perl/bin:$PATH" $conanCreateCommand ${{ startsWith(matrix.platform, 'android') && '-o "qt/*:android_sdk=$ANDROID_HOME"' || '' }}
182184
done
185+
echo "UPLOAD_QT=0" >> $GITHUB_ENV
186+
187+
- name: Upload Qt
188+
if: ${{ env.UPLOAD_QT }}
189+
uses: actions/upload-artifact@v4
190+
with:
191+
name: ${{ matrix.platform }}-qt
192+
path: |
193+
${{ env.CONAN_HOME }}/p/b/qt*
183194
184195
# TODO: remove when https://github.com/conan-io/conan-center-index/pull/26577 is merged
185196
- name: Build LuaJIT from PR changes
@@ -207,7 +218,6 @@ jobs:
207218
208219
- name: Generate conan profile
209220
run: |
210-
echo "CONAN_HOME=$(conan config home)" >> $GITHUB_ENV
211221
conan install . \
212222
--output-folder=conan-generated \
213223
--build=missing \
@@ -218,9 +228,7 @@ jobs:
218228
uses: actions/upload-artifact@v4
219229
with:
220230
name: ${{ matrix.platform }}
221-
compression-level: 0
222231
path: |
223-
${{ env.CONAN_HOME }}/p/b/qt*
224232
${{ env.CONAN_HOME }}/p/b/ffmp*/b/build-release
225233
${{ env.CONAN_HOME }}/p/zlib*/p
226234

0 commit comments

Comments
 (0)