Skip to content

Commit

Permalink
ci: Don't install Qt when running on self-hosted
Browse files Browse the repository at this point in the history
The previous condition doesn't seem to work
  • Loading branch information
iamsergio committed Jan 10, 2025
1 parent 07e0b23 commit 577d268
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,14 +66,19 @@ jobs:
- shiboken6-generator==6.6.0 pyside6==6.6.0

steps:
- name: debug1
run: env
- name: Export IS_SELFHOSTED
run: echo "IS_SELFHOSTED=$IS_SELFHOSTED" >> $GITHUB_ENV
- name: debug2
run: echo ${{ env.IS_SELFHOSTED }}

- name: Install Qt ${{ matrix.preset.qt_version }} with options and default aqtversion
if: env.IS_SELFHOSTED == null || env.IS_SELFHOSTED == ''
uses: jurplel/install-qt-action@v4
with:
version: ${{ matrix.preset.qt_version }}
cache: true


- name: Install dependencies on Ubuntu (${{ join(matrix.preset.apt_pgks, ' ') }})
if: ${{ runner.os == 'Linux' && matrix.preset.apt_pgks }}
run: |
Expand Down

0 comments on commit 577d268

Please sign in to comment.