Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
iakov authored May 14, 2024
1 parent a1115fc commit 3be1424
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
name: GitHub CI

on:
push:
branches: '**'
pull_request:
branches: '**'
workflow_dispatch:
on: [ push, pull_request, workflow_dispatch]

jobs:
build:
Expand Down Expand Up @@ -47,9 +42,8 @@ jobs:
- uses: actions/checkout@v4

- name: Install Qt
# pin to some SHA, until v3.4 or v4 is released later
uses: jurplel/install-qt-action@da8fcfc956e466ea041d5e923c814860311ec6f2
- name: Install Qt
uses: jurplel/install-qt-action@v3
with:
version: ${{ matrix.qt-version }}
host: ${{ matrix.os-name }}
Expand All @@ -59,6 +53,14 @@ jobs:
cache: true
add-tools-to-path: true

- name: Update PATH
run: |
set -xue
cygpath -w /usr/bin >> $GITHUB_PATH
cygpath -w "${IQTA_TOOLS}/mingw${{matrix.mingw-short-version}}0_32/bin" >> $GITHUB_PATH
cygpath -w "${Qt${{startsWith(matrix.qt-version, '6') && '6_DIR' || '5_Dir' }}}/bin" >> $GITHUB_PATH
if: ${{ matrix.os-name == 'windows' }}

- name: Check available tools
run: |
set -xueo pipefail
Expand Down

0 comments on commit 3be1424

Please sign in to comment.