Skip to content

Commit

Permalink
avoid flaky choco (6)
Browse files Browse the repository at this point in the history
  • Loading branch information
arBmind committed Jan 21, 2022
1 parent 336e008 commit 82aab42
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/build_qbs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
qt_modules_x86: qtbase qtdeclarative qttools qtsvg qtserialport qtquickcontrols qtquickcontrols2 qtgraphicaleffects qtlocation qtimageformats qtquicktimeline
libclang_url: "https://download.qt.io/development_releases/prebuilt/libclang/libclang-release_130-based-windows-vs2019_64.7z"
jom_url: "https://download.qt.io/official_releases/jom/jom_1_1_3.zip"
qbs_url: "https://download.qt.io/official_releases/qbs/1.21.0/qbs-windows-x86_64-1.21.0.zip"

steps:
- name: Get LibClang
Expand All @@ -34,9 +35,14 @@ jobs:
with:
python-version: "3.x"

- name: Install Qbs
run: choco install qbs
- name: Get Qbs
shell: cmake -P {0}
run: file(DOWNLOAD "${{ matrix.config.qbs_url }}" ./qbs.zip SHOW_PROGRESS)

- run: |
7z x qbs.zip -oqbs
echo "${{ github.workspace }}/qbs/bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
- name: Get JOM
shell: cmake -P {0}
run: file(DOWNLOAD "${{ matrix.config.jom_url }}" ./jom.zip SHOW_PROGRESS)
Expand Down

0 comments on commit 82aab42

Please sign in to comment.