aboutsummaryrefslogtreecommitdiffstats
path: root/.github/actions/download-mingw/action.yml
blob: f8fb47f28a5e8b0a44aa3a0f0b5012a175387d17 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
name: 'Download MinGW'
description: 'Downloads MinGW'
inputs:
  version:
    description: 'MinGW version'
    required: false
    default: '8.1.0'
  toolchain:
    description: 'Toolchain'
    required: false
    default: 'win64_mingw'
runs:
  using: "composite"
  steps:
    - name: Install MinGW
      run: |
        MINGW_DIR=$(./scripts/install-qt.sh -d $HOME/Qt --version ${{ inputs.version }} --toolchain ${{ inputs.toolchain }} mingw)
        (cygpath -w ${MINGW_DIR} 2>/dev/null || echo ${MINGW_DIR}) >> ${GITHUB_PATH}
      shell: bash