Skip to content

Commit

Permalink
try only conditionally downloading plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin Owad committed Aug 9, 2023
1 parent c43cd62 commit 103fe4e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ jobs:
qtVersion: '5.15.2'
- runner: 'ubuntu-20.04'
qtVersion: '5.9'
skipPlugins: 'true'
- runner: 'macos-latest'
qtVersion: '6.2.2'
qtModules: 'qtimageformats'
- runner: 'macos-latest'
qtVersion: '5.15.2'
osSuffix: '_legacy'
skipHardPlugins: 'true'
- runner: 'windows-2019'
qtVersion: '6.2.2'
qtArch: 'win64_msvc2019_64'
Expand Down Expand Up @@ -64,7 +64,9 @@ jobs:
- name: Deploy qView
shell: pwsh
run: |
Invoke-Expression "& 'dist/scripts/download-plugins.ps1'"
if (-Not ${{ matrix.skipPlugins }}) {
Invoke-Expression "& 'dist/scripts/download-plugins.ps1'"
}
if ($IsWindows) {
Invoke-Expression "& 'dist/scripts/windeployqt.ps1' ${{ env.buildNumString }}"
} elseif ($IsMacOS) {
Expand Down

0 comments on commit 103fe4e

Please sign in to comment.