Skip to content

Commit

Permalink
Ensure artifact name is unique, and enable for all platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
pcolby committed Mar 22, 2024
1 parent 22d8cd3 commit afcc016
Showing 1 changed file with 23 additions and 2 deletions.
25 changes: 23 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -115,11 +115,11 @@ jobs:
doc-archives: ${{ (startsWith(matrix.qt, '5.10.') || startsWith(matrix.qt, '5.11.')) && 'qt' || (startsWith(matrix.qt, '5') && 'qtcore qtbluetooth' || 'qtcore') }}
doc-modules: ${{ startsWith(matrix.qt, '6') && 'qtbluetooth' || '' }}
aqtversion: ==3.1.*
- name: Upload aqt log
- name: Upload aqtinstall logfile
#if: failure()
uses: actions/upload-artifact@v4
with:
name: aqtinstall-log-linux-${{ matrix.env.cc }}-${{ matrix.qt }}
name: aqtinstall-log-linux-${{ matrix.env.cc }}-${{ matrix.qt }}${{ matrix.env.coverage && '-cov' || ''}}
path: aqtinstall.log
if-no-files-found: error
- name: Install linuxdeploy
Expand Down Expand Up @@ -223,6 +223,13 @@ jobs:
doc-archives: ${{ (startsWith(matrix.qt, '5.10.') || startsWith(matrix.qt, '5.11.')) && 'qt' || (startsWith(matrix.qt, '5') && 'qtcore qtbluetooth' || 'qtcore') }}
doc-modules: ${{ startsWith(matrix.qt, '6') && 'qtbluetooth' || '' }}
aqtversion: ==3.1.*
- name: Upload aqtinstall logfile
#if: failure()
uses: actions/upload-artifact@v4
with:
name: aqtinstall-log-mac-${{ matrix.env.cc }}-${{ matrix.qt }}${{ matrix.env.coverage && '-cov' || ''}}
path: aqtinstall.log
if-no-files-found: error
- name: Build
id: build
env:
Expand Down Expand Up @@ -353,6 +360,13 @@ jobs:
arch: win64_msvc2019_64
set-env: false
aqtversion: ==3.1.*
- name: Upload aqtinstall logfile
#if: failure()
uses: actions/upload-artifact@v4
with:
name: aqtinstall-log-win-${{ matrix.arch }}-startsWith(matrix.generator, 'MinGW') && 'mingw' || 'msvc' }}-${{ matrix.env.cc }}-${{ matrix.qt }}-cross
path: aqtinstall.log
if-no-files-found: error
- name: Install Qt
uses: jurplel/install-qt-action@v3
with:
Expand All @@ -367,6 +381,13 @@ jobs:
doc-archives: ${{ (startsWith(matrix.qt, '5.10.') || startsWith(matrix.qt, '5.11.')) && 'qt' || (startsWith(matrix.qt, '5') && 'qtcore qtbluetooth' || 'qtcore') }}
doc-modules: ${{ startsWith(matrix.qt, '6') && 'qtbluetooth' || '' }}
aqtversion: ==3.1.*
- name: Upload aqtinstall logfile
#if: failure()
uses: actions/upload-artifact@v4
with:
name: aqtinstall-log-win-${{ matrix.arch }}-startsWith(matrix.generator, 'MinGW') && 'mingw' || 'msvc' }}-${{ matrix.env.cc }}-${{ matrix.qt }}
path: aqtinstall.log
if-no-files-found: error
- name: Configure cross-compilation
if: matrix.arch == 'arm64'
shell: bash
Expand Down

0 comments on commit afcc016

Please sign in to comment.