Git Product home page Git Product logo

install-qt-action's Introduction

install-qt-action

Installing Qt on Github Actions workflows manually is the worst.

You know what's easier than dealing with that? Just using this:

    - name: Install Qt
      uses: jurplel/install-qt-action@v4

All done.

Upgrade Guides

Each new major version of this project includes changes that can break workflows written to use an older version of this project. These changes are summarized here, to help you upgrade your existing workflows.

Upgrading install-qt-action

Options

version

The desired version of Qt to install.

You can also pass in SimpleSpec version numbers, for example 6.2.*.

Default: 5.15.2 (Last Qt 5 LTS)

Please note that for Linux builds, Qt 6+ requires Ubuntu 20.04 or later.

host

This is the host platform of the Qt version you will be installing. It's unlikely that you will need to set this manually if you are just building.

For example, if you are building on Linux and targeting desktop, you would set host to linux. If you are building on Linux and targeting android, you would set host to linux also. The host platform is the platform that your application will build on, not its target platform.

Possible values: windows, mac, or linux

Defaults to the current platform it is being run on.

target

This is the target platform that you will be building for. You will want to set this if you are building for iOS or Android. Please note that iOS builds are supported only on macOS hosts and Win RT builds are only supported on Windows hosts.

Possible values: desktop, android, ios, or winrt

Default: desktop

arch

This is the target architecture that your program will be built for.

Linux x86 packages are not supported by this action. Qt does not offer pre-built Linux x86 packages. Please consider using your distro's repository or building it manually.

Possible values:

You can find a full list of architectures easily by using this awesome website.

Default values:

Windows w/ Qt < 5.6: win64_msvc2013_64

Windows w/ Qt >= 5.6 && Qt < 5.9: win64_msvc2015_64

Windows w/ Qt >= 5.9 && Qt < 5.15: win64_msvc2017_64

Windows w/ Qt >= 5.15: win64_msvc2019_64

Android: android_armv7

dir

This is the directory prefix that Qt will be installed to.

For example, if you set dir to ${{ github.workspace }}/example/, your bin folder will be located at $GITHUB_WORKSPACE/example/Qt/5.15.2/{arch}/bin. When possible, access your Qt directory through the QT_ROOT_DIR environment variable; this will point to $GITHUB_WORKSPACE/example/Qt/5.15.2/{arch} in this case.

Default: $RUNNER_WORKSPACE (this is one folder above the starting directory)

install-deps

Whether or not to automatically install Qt dependencies on Linux through apt.

Can be set to nosudo to stop it from using sudo, for example on a docker container where the user already has sufficient privileges.

Default: true

modules

String with whitespace delimited list of additional addon modules to install, with each entry separated by a space. If you need one of these, you'll know it.

Possible values: qtcharts, qtdatavis3d, qtpurchasing, qtvirtualkeyboard, qtwebengine, qtnetworkauth, qtwebglplugin, qtscript, debug_info, and more

Default: none

archives

String with whitespace delimited list of Qt archives to install, with each entry separated by a space. Typically you don't need this unless you are aiming for bare minimum installation. I would strongly advise reading the aqtinstall docs before using this feature.

Possible values: qtbase, qtsvg, qtdeclarative, qtgamepad, qtgraphicaleffects, qtimageformats, qtlocation

Default: none

cache

Whether to cache Qt automatically. If it is set to true, then Qt won't be downloaded if a cached version is available, but the environment variables will always be set, and essential build tools will always be installed.

Default: false

cache-key-prefix

Prefix to be used for the cache key of the automatic cache.

Default: install-qt-action

setup-python

Set this to false if you want to skip using setup-python to find/download a valid python version. If you are on a self-hosted runner, you will probably need to set this to false because setup-python requires a very specific environment to work.

Default: true

tools

Qt "tools" to be installed. Specify the tool name and tool variant name separated by commas, and separate multiple tools with spaces. If you wish to install all tools available for a given tool name, you can leave off the tool variant name. I would advise reading the aqtinstall docs for more info on installing tools.

For example, this value will install the most recent versions of QtIFW and QtCreator:

    tools: 'tools_ifw tools_qtcreator,qt.tools.qtcreator'

You can find a full list of tools easily by using this awesome website.

add-tools-to-path

When set to true, and the tools parameter is non-empty, the following paths will be prepended to the PATH variable:

  • Tools/**/bin
  • *.app/Contents/MacOS
  • *.app/**/bin

Most tools end up in the Tools folder, and have a bin directory containing CLI tools. On MacOS, several tools are packaged in .app bundles, and CLI tools are spread out among various bin folders and the Contents/MacOS folder.

Distinct from, and not affected by, the set-env parameter.

Default: true

source

Set this to true to install Qt source code. Incompatible with aqtinstall < 2.0.4.

Default: false

src-archives

String with whitespace delimited list of source archives to install, with each entry separated by a space. Has no effect unless source is set to true. Useful to limit download size.

See the --archives flag for aqt install-src for more details. Use aqt list-src to see available options.

Default: none

documentation

Set this to true to install Qt documentation files. Incompatible with aqtinstall < 2.0.4.

Default: false

doc-archives

String with whitespace delimited list of documentation archives to install, with each entry separated by a space. Has no effect unless documentation is set to true. Useful to limit download size.

See the --archives flag for aqt install-doc for more details. Use aqt list-doc to see available options.

Default: none

doc-modules

String with whitespace delimited list of documentation modules to install, with each entry separated by a space. Has no effect unless documentation is set to true. Each module contains extra documentation not included with the base installation.

See the --modules flag for aqt install-doc for more details. Use aqt list-doc to see available options.

Default: none

examples

Set this to true to install Qt example code. Incompatible with aqtinstall < 2.0.4.

Default: false

example-archives

String with whitespace delimited list of example archives to install, with each entry separated by a space. Has no effect unless examples is set to true. Useful to limit download size.

See the --archives flag for aqt install-example for more details. Use aqt list-example to see available options.

Default: none

example-modules

String with whitespace delimited list of example modules to install, with each entry separated by a space. Has no effect unless examples is set to true. Each module contains extra examples not included with the base installation.

See the --modules flag for aqt install-example for more details. Use aqt list-example to see available options.

Default: none

set-env

Set this to false if you want to avoid setting environment variables for whatever reason. Has no effect on tools paths; to modify these you must use add-tools-to-path.

Default: true

no-qt-binaries

Set this to true if you want to skip installing Qt. This option is useful if you want to install tools, source, documentation, or examples.

Default: false

tools-only

This is a synonym for no-qt-binaries. It only exists to preserve backwards compatibility. If you set either no-qt-binaries or tools-only to true, you will skip installation of Qt.

Default: false

aqtsource

The full specifier for a version of aqtinstall as passed to pip. For example: git+https://github.com/miurahr/aqtinstall.git. This is intended to be used to troubleshoot any bugs that might be caused or fixed by certain versions of aqtinstall. Note that when this is used, the value of aqtversion is ignored.

By default this is unset and ignored.

aqtversion

Version of aqtinstall to use, given in the format used by pip, for example: ==0.7.1, >=0.7.1, ==0.7.*. This is intended to be used to troubleshoot any bugs that might be caused or fixed by certain versions of aqtinstall.

Default: ==3.1.*

py7zrversion

Version of py7zr in the same style as the aqtversion and intended to be used for the same purpose.

Default: ==0.20.*

extra

This input can be used to append arguments to the end of the aqtinstall command for any special purpose.

Example value: --external 7z

Example with all arguments

    - name: Install Qt
      uses: jurplel/install-qt-action@v4
      with:
        version: '5.15.2'
        host: 'windows'
        target: 'desktop'
        arch: 'win64_msvc2019_64'
        dir: '${{ github.workspace }}/example/'
        install-deps: 'true'
        modules: 'qtcharts qtwebengine'
        archives: 'qtbase qtsvg'
        cache: 'false'
        cache-key-prefix: 'install-qt-action'
        setup-python: 'true'
        tools: 'tools_ifw tools_qtcreator,qt.tools.qtcreator'
        set-env: 'true'
        tools-only: 'false'
        aqtversion: '==3.1.*'
        py7zrversion: '==0.20.*'
        extra: '--external 7z'

More info

For more in-depth and certifiably up-to-date documentation, check the documentation for aqtinstall here.

Any tools you installed with the tools key will be added to the beginning of your PATH environment variable. Specifically, any bin directories within the tool's directory will be added. On MacOS, if the tool is an app bundle, then the .app/Contents/MacOS folder will also be added to your PATH.

The Qt bin directory is appended to your path environment variable. Qt5_DIR is also set appropriately for CMake if you are using Qt 5. In addition, QT_PLUGIN_PATH, QML2_IMPORT_PATH, PKG_CONFIG_PATH and LD_LIBRARY_PATH are set accordingly. IQTA_TOOLS is set to the "Tools" directory if tools are installed as well.

Since the Qt bin directory is in your path, you will not need to set the CMAKE_PREFIX_PATH CMake variable. If you wish to do so, you can set it to either ${QT_ROOT_DIR} or to ${QT_ROOT_DIR}/lib/cmake.

Big thanks to the aqtinstall developer for making this easy. Please go support miurahr, he did all of the hard work here (his liberapay).

This action is distributed under the MIT license.

By using this action, you agree to the terms of Qt's licensing. See Qt licensing and Licenses used by Qt.

install-qt-action's People

Contributors

asztalosdani avatar batcavemessi avatar bexnoss avatar chocobo1 avatar ddalcino avatar dependabot[bot] avatar etlamgit avatar hannesweisbach avatar igkh avatar imba-tjd avatar jihadist avatar jurplel avatar linville avatar lorenze avatar ouuan avatar pbek avatar pionere avatar pzhlkj6612 avatar timangus avatar tonymorony avatar uglide avatar vicr123 avatar wy-luke avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

install-qt-action's Issues

Qmake is not found anymore

From yesterday my build is failing in Windows-2016 because of the following error:
The term 'qmake' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

My settings are:

  • name: Cache Qt
    id: cache-qt
    uses: actions/cache@v1
    with:
    path: ../Qt
    key: ${{ runner.os }}-QtCache
    • name: Install Qt
      uses: jurplel/install-qt-action@v2
      with:
      version: 5.12.9
      arch: 'win64_msvc2017_64'
      host: 'windows'
      mirror: http://mirrors.ocf.berkeley.edu/qt/
      cached: ${{ steps.cache-qt.outputs.cache-hit }}

New release

Is there any way you could release the current status as v2.2.0? v.2.1.0 only supports aqt5.* which saw a lot of bug fixes since.

python3 and pip3 might not be the same version

I'm having an issue where pip3 uses python3.9 but python3 default defaults to python3.8:

Run jurplel/install-qt-action@v2
brew install p7zip
Warning: p7zip 16.02_2 is already installed and up-to-date
To reinstall 16.02_2, run `brew reinstall p7zip`
pip3 install setuptools wheel
Requirement already satisfied: setuptools in /usr/local/lib/python3.9/site-packages (50.3.0)
Requirement already satisfied: wheel in /usr/local/lib/python3.9/site-packages (0.35.1)
[ โ€ฆ snip; Not the python3.9 above โ€ฆ ]
python3 -m aqt install -O /Users/runner/work/explicitcad/Qt 5.10.0 mac desktop
/usr/local/opt/[email protected]/bin/python3.8: No module named aqt
Error: The process 'python3' failed with exit code 1

python3 obviously calls /usr/local/opt/[email protected]/bin/python3.8.

This happens on a Github-hosted runner under macOS.

Qt versions besides 5

I guess it is not feasible to support Qt 4 too, as aqt does not support it as far as I have seen?
But at least aqt now supports Qt 6, but you always set Qt 5 environment variables.

Download error: invalid block data during Qt installation (Linux only)

Hi, I'm getting a strange error when installing Qt with Github workflows on Linux. The step failed with the error : "Download error: invalid block data". Here is the full log file and here my project where it happened. I haven't changed anything and the workflow for Linux broke today. I tried changing the Qt version but it didn't change anything.

Download error: decompression get wrong: no output data

Thank you for this great GitHub Action, I'm currently using it on https://github.com/pbek/QOwnNotes!

I'm currently having issues with the Qt 5.7 installation on Windows (some still are using Windows XP) with win32_mingw53.

Config: https://github.com/pbek/QOwnNotes/blob/48f5b73e1b0a200b88c93d82ef6192f7d80fbe03/.github/workflows/build.yml#L61-L69
Build log: https://github.com/pbek/QOwnNotes/runs/880829548?check_suite_focus=true

I always get the error Download error: decompression get wrong: no output data. for all packages:

2020-07-17 06:56:23,560 - aqt - INFO - Downloading qtsvg...
2020-07-17 06:56:23,560 - aqt - DEBUG - Download URL: http://mirrors.ocf.berkeley.edu/qt//online/qtsdkrepository/windows_x86/desktop/qt5_57/qt.57.win32_mingw53/5.7.1-0qtsvg-Windows-Windows_7-Mingw53-Windows-Windows_7-X86.7z
2020-07-17 06:56:24,064 - aqt - ERROR - Download error: decompression get wrong: no output data.
  • I tried with and without mirror
  • Qt 5.14.2 works great, only Qt 5.7 doesn't seem to work
  • When I download the file on my computer it decompresses fine

Has anyone seen something like that?

Request for confirmation: aqtinstall v0.7

@jurplel Thank you for utilizing aqtinstall!

I plan to release aqtinstall v0.7b1 as a next major release v0.7.

It changed its behavior for extracting packages and more features.

  • Drop '--internal' flag
  • Add '-m all' installation flag.
  • Add functionality to install WebAssembly Qt modules.

Could you validate and confirm an aqtinstall v0.7 beta versions?

Static Qt installs

Is it possible to support static qt installs for projects that want to statically link? Thanks!

Install with default deps fails for 5.15.0 on ubuntu-16.04

recently all runs started to fail on ubuntu QT installation without any changes in CI configuration

example of such run:

https://github.com/KomodoPlatform/atomicDEX-Pro/runs/774029777?check_suite_focus=true

install-qt-action configuration:

      - name: Install QT (Linux)
        uses: jurplel/install-qt-action@v2
        with:
          version: '5.15.0'
          host: 'linux'
          target: 'desktop'
          dir: '${{ github.workspace }}'
          modules: 'qtcharts qtwidgets debug_info'

fail output:

python3 -m aqt install -O /home/runner/work/atomicDEX-Pro/atomicDEX-Pro/Qt 5.15.0 linux desktop -m qtcharts qtwidgets debug_info
Traceback (most recent call last):
  File "/usr/lib/python3.5/runpy.py", line 174, in _run_module_as_main
    mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
  File "/usr/lib/python3.5/runpy.py", line 133, in _get_module_details
    return _get_module_details(pkg_main_name, error)
  File "/usr/lib/python3.5/runpy.py", line 109, in _get_module_details
    __import__(pkg_name)
  File "/home/runner/.local/lib/python3.5/site-packages/aqt/__init__.py", line 25, in <module>
    from aqt.cli import Cli
  File "/home/runner/.local/lib/python3.5/site-packages/aqt/cli.py", line 35, in <module>
    from aqt.installer import QtInstaller
  File "/home/runner/.local/lib/python3.5/site-packages/aqt/installer.py", line 32, in <module>
    import py7zr
  File "/home/runner/.local/lib/python3.5/site-packages/py7zr/__init__.py", line 24, in <module>
    from py7zr.py7zr import ArchiveInfo, FileInfo, SevenZipFile, is_7zfile, pack_7zarchive, unpack_7zarchive
  File "/home/runner/.local/lib/python3.5/site-packages/py7zr/py7zr.py", line 827
    item: Optional[Tuple[str, str, str]] = self.q.get(timeout=1)
        ^
SyntaxError: invalid syntax
##[error]The process 'python3' failed with exit code 1

I do exppect that it caused by these changes:

411bfbd

No module named aqt on OSX worker

Recently (just few hours ago) OSX jobs e.g. https://github.com/KomodoPlatform/atomicDEX-Desktop/pull/492/checks?check_run_id=1252867966 started to fail with:

pip3 install aqtinstall==0.9.4
Collecting aqtinstall==0.9.4
  Downloading aqtinstall-0.9.4-py2.py3-none-any.whl (27 kB)
Collecting requests
  Downloading requests-2.24.0-py2.py3-none-any.whl (61 kB)
Collecting packaging
  Downloading packaging-20.4-py2.py3-none-any.whl (37 kB)
Requirement already satisfied: wheel in /usr/local/lib/python3.9/site-packages (from aqtinstall==0.9.4) (0.35.1)
Requirement already satisfied: py7zr>=0.9.1 in /usr/local/lib/python3.9/site-packages (from aqtinstall==0.9.4) (0.9.1)
Collecting urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1
  Downloading urllib3-1.25.10-py2.py3-none-any.whl (127 kB)
Collecting chardet<4,>=3.0.2
  Downloading chardet-3.0.4-py2.py3-none-any.whl (133 kB)
Collecting idna<3,>=2.5
  Downloading idna-2.10-py2.py3-none-any.whl (58 kB)
Collecting certifi>=2017.4.17
  Downloading certifi-2020.6.20-py2.py3-none-any.whl (156 kB)
Collecting six
  Downloading six-1.15.0-py2.py3-none-any.whl (10 kB)
Collecting pyparsing>=2.0.2
  Downloading pyparsing-2.4.7-py2.py3-none-any.whl (67 kB)
Requirement already satisfied: pycryptodome in /usr/local/lib/python3.9/site-packages (from py7zr>=0.9.1->aqtinstall==0.9.4) (3.9.8)
Requirement already satisfied: texttable in /usr/local/lib/python3.9/site-packages (from py7zr>=0.9.1->aqtinstall==0.9.4) (1.6.3)
Installing collected packages: urllib3, chardet, idna, certifi, requests, six, pyparsing, packaging, aqtinstall
Successfully installed aqtinstall-0.9.4 certifi-2020.6.20 chardet-3.0.4 idna-2.10 packaging-20.4 pyparsing-2.4.7 requests-2.24.0 six-1.15.0 urllib3-1.25.10
python3 -m aqt install -O /Users/runner/work/atomicDEX-Desktop/atomicDEX-Desktop/Qt 5.15.0 mac desktop -m qtcharts qtwidgets debug_info
/usr/local/opt/[email protected]/bin/python3.8: No module named aqt
Error: The process 'python3' failed with exit code 1

a little bit confused rn, probably there were some changes in worker image (package installing for python3.9 but python3 aliased for python3.8)

setuptools missing on ubuntu-latest

Hi,

First of all, thanks a lot for this action! Saved me from quite a lot of headaches!
I recently added linux ci to one of my projects, and I noticed it failed installing Qt because setuptools seems to be missing.

I patched my yml file and added this just before the install-qt-action step:

      - name: Patch install-qt-action
        shell: bash
        run: pip3 install setuptools

and it fixed the problem, but it would be better if it worked as is on ubuntu-latest too :)

(you can see the action run here: https://github.com/dcourtois/QmlDev/commit/78cf81c006b94eff05cbcdeb1512c6bfcc38e4f1/checks?check_suite_id=334841384)

Project ERROR: Cannot run compiler 'cl'. Output:

I have a really hard time getting this running on Windows.
Let me first say that I'm not really knowing what I'm doing, C++ is not my comfort zone and Qt even less.
I'm just trying to get this running on Windows too and hope you can maybe help.
https://github.com/Vampire/svn2git/runs/879715535 works fine with the setup on Linux.
Now I try to get it running on Windows.
But here is the problem: https://github.com/Vampire/svn2git/runs/879875430
Qt is installed fine, but when trying to run qmake the error from the title is raised and I'm kind of lost. :-/

Qt5_Dir variable CMake compatibility

Hi

thanks for this action and a good idea to include this variable. Did you want to make this CMake compatible with this? At least this is what I was hoping for.
If that is the case, I think the current implementation has some flaws:

  1. The CMake variable is called Qt5_DIR (mind the upper case letters)
  2. It contains $GITHUB_WORKSPACE as a prefix which needs to be expanded recursively when used (suboptimal). Can't you expand the workspace when creating the variable? What if people change this variable later on? Then it would not work anymore anyway.

Running executable on Windows fails

First of all thank you for your work, having a GitHub action to install Qt in a cross-platform way is a lifesaver. I'm currently in the process of switching CI for the qxmpp project over to GitHub actions, and Linux and OS X are building and running their test suite just fine.

On Windows I have been able to compile the test suite, but running it fails with Exit code 0xc0000135. Unless I'm mistaken this means the dynamic linker is not finding a DLL, which surprises me as your action does add Qt5_DIR/bin to PATH.

An example failing run:

https://github.com/qxmpp-project/qxmpp/actions/runs/62230835

Do you have any suggestion as to how to debug this?

Installing build-essential libgl1-mesa-dev fails

sudo apt-get install build-essential libgl1-mesa-dev -y fails for ubuntu-latest, see our repo and yours. Ubuntu 16.04 seems to be working ok, see here. Everything was working fine yesterday.

Looks like no download connection can be established for some packages. Any ideas why? Might be a server problem?

Add support to build applications for the webassembly platform

Thank you for providing the support to build qt applications on github actions! Really great work!

Have you thought about supporting the webassembly target platform as well? Maybe this is the last missing part for the full support of all target platforms of Qt.

Install python, or document it's required

pip3 is used throughout the action, and while it's there on GitHub runners, it needs to be installed on seld-hosted ones.

May be worth installing it, or at least documenting the assumptions about the environment the actions has.

lib/main.js File not found

Seems install-qt-action is installing the MSVC-version of Qt, I have a dependency which enforced me build it on a minGW platform.
Any suggestions that how I can do it?

Specified target combination is not valid: linux android None

I'm getting the following when trying to use this:

python3 -m aqt install -O /qt/Qt 5.12.6 linux android
Specified target combination is not valid: linux android None

My current entry look like this

I'm new to GitHub's CI and Actions but know how to build Qt projects from command line - so excuse me if I'm missing something obvious

Feature request: support `--archives`

This can be pretty slow on windows, even when cached due to the size.

For projects that don't need all of Qt, this can be reduced by passing --archives qtbase to aqtinstall - however, the action doesn't appear to support this.

Works great but Windows cache does not work

Hello,

I try to use the Windows cache but tar does not seem to be able to create some subdirectories.

The relevant yaml file content is:

steps:
  - name: Show ..
    run: |
      ls ..
      
  - name: Cache Qt
    id: cache-qt
    uses: actions/cache@v1
    with:
      path: ../Qt
      key: QtCache
      
  - name: Show Qt dir
    run: |
      ls -R ../Qt
  - name: Install Qt
    uses: jurplel/install-qt-action@v2
    with:
      cached: ${{ steps.cache-qt.outputs.cache-hit }}
      version: 5.13.2
      
  - name: Show Qt dir
    run: |
      ls ../Qt

The ls outputs are clearly just for debugging.

Now, when the cache is off or it runs for the first time, everything works. However, at the second time, at the step Cache Qt, I get the following lines:

Cache Size: ~137 MB (143671112 B)
C:\windows\System32\tar.exe -xz -f D:\a\_temp\923447e5-67f2-431f-895f-6de3fc8e5d36\cache.tgz -C D:\a\QtTest\Qt
./5.13.2/clang_64/lib/QtConcurrent.framework/Resources: Can't create '\\\\?\\D:\\a\\QtTest\\Qt\\5.13.2\\clang_64\\lib\\QtConcurrent.framework\\Resources'
./5.13.2/clang_64/lib/QtConcurrent.framework/Headers: Can't create '\\\\?\\D:\\a\\QtTest\\Qt\\5.13.2\\clang_64\\lib\\QtConcurrent.framework\\Headers'
...

and many many more for other sub-sub-directories of lib...

And "Show Qt dir" after loading the cache shows:

Directory: D:\a\QtTest\Qt\5.13.2\clang_64\lib\QtConcurrent.framework

Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
d----          10/28/2019  1:00 PM                Versions
-a---          10/28/2019 11:47 AM           1554 QtConcurrent.prl
-a---          10/28/2019 11:47 AM           1558 QtConcurrent_debug.prl

so the parent directories exist and some files could be created but, for some unknown reason, it cannot create the further subdirectory...

All this works fine with macOS and your script works fine for Windows and macOS WITHOUT cache...

Any ideas?

License check failed

Hey there. I am using this action to install qt for our project. You can find our yml file here: https://github.com/LorenzE/mne-cpp/blob/master/.github/workflows/main.yml

The Qt install step seems to run fine but I run into the following errors:
sh: 1: /home/runner/work/mne-cpp/Qt/5.10.1/gcc_64/bin/: Permission denied
Project ERROR: License check failed! Giving up ...

https://github.com/LorenzE/mne-cpp/commit/1c696986008faecbc8fd0d06a2735eca34e42896/checks?check_suite_id=324925917

Windows build gives me the same error:

https://github.com/LorenzE/mne-cpp/runs/316826096

Any idea why the license check failed?

fails to install Qt5.5.1 on Ubuntu-16.04

python3 -m aqt install -O /home/runner/work/xxx/Qt 5.5.1 linux desktop
2020-06-16 17:27:40,458 - aqt - INFO - aqtinstall(aqt) v0.9.0 on Python 3.5.2 [CPython GCC 5.4.0 20160609]
2020-06-16 17:27:40,458 - aqt - WARNING - Specified Qt version is unknown: 5.5.1.
2020-06-16 17:27:41,090 - aqt - ERROR - Download error when access to https://download.qt.io/online/qtsdkrepository/linux_x64/desktop/qt5_551/Updates.xml
Server response code: 404, reason: Not Found
##[error]The process 'python3' failed with exit code 1

When looking into https://download.qt.io/online/qtsdkrepository/linux_x64/desktop/
a differently named folder 5.5 is listed.

lib/main.js File not found

Seems to be #2 again.

Curiosity: how do releases work for actions? I was expecting the compiled version as a GitHub Releases artifact but only the source code is available. It would be nice if the release process was automated to avoid this issue resurfacing.

Qt 5.15.1 installation on Windows seems to fail

Hi @jurplel, I tried to install Qt 5.15.1 for Windows (https://github.com/pbek/QOwnNotes/runs/1017680624?check_suite_focus=true) and it currently fails with:

FileNotFoundError: [Errno 2] No such file or directory: 'D:\\a\\QOwnNotes/Qt\\5.15.1\\mingw73_64\\bin\\qt.conf'
Traceback (most recent call last):
  File "C:\hostedtoolcache\windows\Python\3.7.8\x64\lib\runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "C:\hostedtoolcache\windows\Python\3.7.8\x64\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "C:\hostedtoolcache\windows\Python\3.7.8\x64\lib\site-packages\aqt\__main__.py", line 28, in <module>
    sys.exit(main())
  File "C:\hostedtoolcache\windows\Python\3.7.8\x64\lib\site-packages\aqt\__init__.py", line 38, in main
    return cli.run()
  File "C:\hostedtoolcache\windows\Python\3.7.8\x64\lib\site-packages\aqt\cli.py", line 340, in run
    return args.func(args)
  File "C:\hostedtoolcache\windows\Python\3.7.8\x64\lib\site-packages\aqt\cli.py", line 158, in run_install
    installer.finalize()
  File "C:\hostedtoolcache\windows\Python\3.7.8\x64\lib\site-packages\aqt\installer.py", line 174, in finalize
    self.make_conf_files(target.version, target.arch)
  File "C:\hostedtoolcache\windows\Python\3.7.8\x64\lib\site-packages\aqt\installer.py", line 157, in make_conf_files
    raise e
  File "C:\hostedtoolcache\windows\Python\3.7.8\x64\lib\site-packages\aqt\installer.py", line 141, in make_conf_files
    with open(os.path.join(self.base_dir, qt_version, arch_dir, 'bin', 'qt.conf'), 'w') as f:
FileNotFoundError: [Errno 2] No such file or directory: 'D:\\a\\QOwnNotes/Qt\\5.15.1\\mingw73_64\\bin\\qt.conf'

The actual downloading of the packages seems to work.

Sometimes failed to sudo apt-get update and install on Ubuntu

The log
2020-04-06T09:15:41.6609829Z [command]sudo apt-get update
2020-04-06T09:15:41.8958431Z Get:2 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
2020-04-06T09:15:41.8984561Z Ign:3 http://dl.google.com/linux/chrome/deb stable InRelease
2020-04-06T09:15:41.9086870Z Get:4 https://packages.microsoft.com/repos/azure-cli bionic InRelease [3964 B]
2020-04-06T09:15:41.9184908Z Get:5 https://packages.microsoft.com/ubuntu/18.04/prod bionic InRelease [4002 B]
2020-04-06T09:15:41.9187675Z Get:6 https://download.mono-project.com/repo/ubuntu stable-bionic InRelease [5143 B]
2020-04-06T09:15:41.9264004Z Get:7 http://packages.cloud.google.com/apt cloud-sdk InRelease [6340 B]
2020-04-06T09:15:41.9347941Z Get:8 https://cli-assets.heroku.com/apt ./ InRelease [2879 B]
2020-04-06T09:15:41.9430582Z Hit:9 https://storage.googleapis.com/bazel-apt stable InRelease
2020-04-06T09:15:41.9436471Z Hit:10 https://dl.yarnpkg.com/debian stable InRelease
2020-04-06T09:15:41.9719112Z Get:11 http://dl.google.com/linux/chrome/deb stable Release [943 B]
2020-04-06T09:15:41.9939755Z Hit:12 http://ppa.launchpad.net/ansible/ansible/ubuntu bionic InRelease
2020-04-06T09:15:41.9968231Z Get:13 http://dl.google.com/linux/chrome/deb stable Release.gpg [819 B]
2020-04-06T09:15:42.1062865Z Get:14 https://packages.microsoft.com/repos/azure-cli bionic/main amd64 Packages [8652 B]
2020-04-06T09:15:42.1514642Z Hit:15 http://ppa.launchpad.net/apt-fast/stable/ubuntu bionic InRelease
2020-04-06T09:15:42.2021424Z Get:16 https://packages.microsoft.com/ubuntu/18.04/prod bionic/main amd64 Packages [104 kB]
2020-04-06T09:15:42.2081892Z Ign:17 https://dl.bintray.com/sbt/debian  InRelease
2020-04-06T09:15:42.2952348Z Get:19 https://dl.bintray.com/sbt/debian  Release [815 B]
2020-04-06T09:15:42.3087585Z Hit:20 http://ppa.launchpad.net/git-core/ppa/ubuntu bionic InRelease
2020-04-06T09:15:42.3256284Z Hit:1 https://packages.cloud.google.com/apt kubernetes-xenial InRelease
2020-04-06T09:15:42.3850814Z Get:21 https://dl.bintray.com/sbt/debian  Release.gpg [821 B]
2020-04-06T09:15:42.4295480Z Get:22 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [677 kB]
2020-04-06T09:15:42.4585095Z Hit:18 https://packagecloud.io/github/git-lfs/ubuntu bionic InRelease
2020-04-06T09:15:42.4681375Z Hit:23 http://ppa.launchpad.net/hvr/ghc/ubuntu bionic InRelease
2020-04-06T09:15:42.4819793Z Get:24 http://packages.cloud.google.com/apt cloud-sdk/main amd64 Packages [101 kB]
2020-04-06T09:15:42.4961654Z Get:25 http://security.ubuntu.com/ubuntu bionic-security/main Translation-en [218 kB]
2020-04-06T09:15:42.5001690Z Get:26 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [28.5 kB]
2020-04-06T09:15:42.5012316Z Get:27 http://security.ubuntu.com/ubuntu bionic-security/restricted Translation-en [7568 B]
2020-04-06T09:15:42.5019275Z Get:28 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [653 kB]
2020-04-06T09:15:42.5206684Z Get:29 http://security.ubuntu.com/ubuntu bionic-security/universe Translation-en [217 kB]
2020-04-06T09:15:42.6091936Z Get:30 https://cli-assets.heroku.com/apt ./ Packages [616 B]
2020-04-06T09:15:42.6262023Z Hit:31 http://ppa.launchpad.net/ondrej/php/ubuntu bionic InRelease
2020-04-06T09:15:42.7844851Z Hit:32 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu bionic InRelease
2020-04-06T09:15:43.1227281Z Get:33 http://dl.google.com/linux/chrome/deb stable/main amd64 Packages [1135 B]
2020-04-06T09:15:43.5685408Z Get:34 https://dl.bintray.com/sbt/debian  Packages [4159 B]
2020-04-06T09:16:12.1049023Z Err:35 http://azure.archive.ubuntu.com/ubuntu bionic InRelease
2020-04-06T09:16:12.1082409Z   Could not connect to azure.archive.ubuntu.com:80 (52.177.174.250), connection timed out
2020-04-06T09:16:12.1108763Z Err:36 http://azure.archive.ubuntu.com/ubuntu bionic-updates InRelease
2020-04-06T09:16:12.1109788Z   Unable to connect to azure.archive.ubuntu.com:http:
2020-04-06T09:16:12.1110654Z Err:37 http://azure.archive.ubuntu.com/ubuntu bionic-backports InRelease
2020-04-06T09:16:12.1111241Z   Unable to connect to azure.archive.ubuntu.com:http:
2020-04-06T09:16:17.1247520Z Fetched 2135 kB in 30s (70.5 kB/s)
2020-04-06T09:16:18.0890493Z Reading package lists...
2020-04-06T09:16:18.1258178Z W: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/dists/bionic/InRelease  Could not connect to azure.archive.ubuntu.com:80 (52.177.174.250), connection timed out
2020-04-06T09:16:18.1273444Z W: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/dists/bionic-updates/InRelease  Unable to connect to azure.archive.ubuntu.com:http:
2020-04-06T09:16:18.1278550Z W: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/dists/bionic-backports/InRelease  Unable to connect to azure.archive.ubuntu.com:http:
2020-04-06T09:16:18.1281400Z W: Some index files failed to download. They have been ignored, or old ones used instead.
2020-04-06T09:16:18.1306164Z [command]sudo apt-get install build-essential libgl1-mesa-dev -y
2020-04-06T09:16:18.2209646Z Reading package lists...
2020-04-06T09:16:18.3851878Z Building dependency tree...
2020-04-06T09:16:18.3863487Z Reading state information...
2020-04-06T09:16:18.5144941Z build-essential is already the newest version (12.4ubuntu1).
2020-04-06T09:16:18.5147431Z The following packages were automatically installed and are no longer required:
2020-04-06T09:16:18.5148404Z   bc dns-root-data dnsmasq-base ebtables grub-pc-bin landscape-common
2020-04-06T09:16:18.5149270Z   liblldb-6.0 liblldb-8 liblxc-common liblxc1 libuv1 linux-headers-4.15.0-91
2020-04-06T09:16:18.5150108Z   lxcfs lxd lxd-client python3-attr python3-automat python3-click
2020-04-06T09:16:18.5151131Z   python3-colorama python3-constantly python3-hyperlink python3-incremental
2020-04-06T09:16:18.5152136Z   python3-pam python3-pyasn1 python3-pyasn1-modules python3-service-identity
2020-04-06T09:16:18.5152808Z   python3-twisted python3-twisted-bin python3-zope.interface uidmap xdelta3
2020-04-06T09:16:18.5153562Z Use 'sudo apt autoremove' to remove them.
2020-04-06T09:16:18.5153959Z The following additional packages will be installed:
2020-04-06T09:16:18.5154719Z   libdrm-dev libegl-mesa0 libegl1 libgbm1 libgles1 libgles2 libglvnd-core-dev
2020-04-06T09:16:18.5155396Z   libglvnd-dev libopengl0 libwayland-server0 libx11-xcb-dev libxcb-dri2-0-dev
2020-04-06T09:16:18.5156007Z   libxcb-dri3-dev libxcb-glx0-dev libxcb-present-dev libxcb-randr0
2020-04-06T09:16:18.5156615Z   libxcb-randr0-dev libxcb-shape0-dev libxcb-sync-dev libxcb-xfixes0
2020-04-06T09:16:18.5157213Z   libxcb-xfixes0-dev libxdamage-dev libxfixes-dev libxshmfence-dev
2020-04-06T09:16:18.5157824Z   libxxf86vm-dev mesa-common-dev x11proto-damage-dev x11proto-fixes-dev
2020-04-06T09:16:18.5158564Z   x11proto-xf86vidmode-dev
2020-04-06T09:16:18.6575826Z The following NEW packages will be installed:
2020-04-06T09:16:18.6577979Z   libdrm-dev libegl-mesa0 libegl1 libgbm1 libgl1-mesa-dev libgles1 libgles2
2020-04-06T09:16:18.6578990Z   libglvnd-core-dev libglvnd-dev libopengl0 libwayland-server0 libx11-xcb-dev
2020-04-06T09:16:18.6580061Z   libxcb-dri2-0-dev libxcb-dri3-dev libxcb-glx0-dev libxcb-present-dev
2020-04-06T09:16:18.6580928Z   libxcb-randr0 libxcb-randr0-dev libxcb-shape0-dev libxcb-sync-dev
2020-04-06T09:16:18.6581772Z   libxcb-xfixes0 libxcb-xfixes0-dev libxdamage-dev libxfixes-dev
2020-04-06T09:16:18.6582966Z   libxshmfence-dev libxxf86vm-dev mesa-common-dev x11proto-damage-dev
2020-04-06T09:16:18.6583882Z   x11proto-fixes-dev x11proto-xf86vidmode-dev
2020-04-06T09:16:48.9287829Z 0 upgraded, 30 newly installed, 0 to remove and 29 not upgraded.
2020-04-06T09:16:48.9288825Z Need to get 1220 kB of archives.
2020-04-06T09:16:48.9289348Z After this operation, 7934 kB of additional disk space will be used.
2020-04-06T09:16:48.9290620Z Ign:1 http://azure.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libdrm-dev amd64 2.4.99-1ubuntu1~18.04.2
2020-04-06T09:16:48.9347477Z Ign:2 http://azure.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libwayland-server0 amd64 1.16.0-1ubuntu1.1~18.04.3
2020-04-06T09:16:48.9349199Z Err:3 http://azure.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libgbm1 amd64 19.2.8-0ubuntu0~18.04.3
2020-04-06T09:16:48.9350038Z   Unable to connect to azure.archive.ubuntu.com:http:
2020-04-06T09:16:48.9352381Z Err:4 http://azure.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libxcb-xfixes0 amd64 1.13-2~ubuntu18.04
2020-04-06T09:16:48.9353042Z   Unable to connect to azure.archive.ubuntu.com:http:
2020-04-06T09:16:48.9353886Z Err:5 http://azure.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libegl-mesa0 amd64 19.2.8-0ubuntu0~18.04.3
2020-04-06T09:16:48.9362237Z   Unable to connect to azure.archive.ubuntu.com:http:
2020-04-06T09:16:48.9364068Z Err:6 http://azure.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libgles1 amd64 1.0.0-2ubuntu2.3
2020-04-06T09:16:48.9364730Z   Unable to connect to azure.archive.ubuntu.com:http:
2020-04-06T09:16:48.9365686Z Err:7 http://azure.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libx11-xcb-dev amd64 2:1.6.4-3ubuntu0.2
2020-04-06T09:16:48.9366306Z   Unable to connect to azure.archive.ubuntu.com:http:
2020-04-06T09:16:48.9367346Z Err:8 http://azure.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libxcb-dri2-0-dev amd64 1.13-2~ubuntu18.04
2020-04-06T09:16:48.9367896Z   Unable to connect to azure.archive.ubuntu.com:http:
2020-04-06T09:16:48.9368622Z Err:9 http://azure.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libxcb-dri3-dev amd64 1.13-2~ubuntu18.04
2020-04-06T09:16:48.9369102Z   Unable to connect to azure.archive.ubuntu.com:http:
2020-04-06T09:16:48.9369787Z Err:10 http://azure.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libxcb-glx0-dev amd64 1.13-2~ubuntu18.04
2020-04-06T09:16:48.9370256Z   Unable to connect to azure.archive.ubuntu.com:http:
2020-04-06T09:16:48.9371710Z Err:11 http://azure.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libxcb-randr0 amd64 1.13-2~ubuntu18.04
2020-04-06T09:16:48.9372199Z   Unable to connect to azure.archive.ubuntu.com:http:
2020-04-06T09:16:48.9372887Z Err:12 http://azure.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libxcb-randr0-dev amd64 1.13-2~ubuntu18.04
2020-04-06T09:16:48.9373360Z   Unable to connect to azure.archive.ubuntu.com:http:
2020-04-06T09:16:48.9374039Z Err:13 http://azure.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libxcb-shape0-dev amd64 1.13-2~ubuntu18.04
2020-04-06T09:16:48.9374531Z   Unable to connect to azure.archive.ubuntu.com:http:
2020-04-06T09:16:48.9375894Z Err:14 http://azure.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libxcb-xfixes0-dev amd64 1.13-2~ubuntu18.04
2020-04-06T09:16:48.9376371Z   Unable to connect to azure.archive.ubuntu.com:http:
2020-04-06T09:16:48.9377069Z Err:15 http://azure.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libxcb-sync-dev amd64 1.13-2~ubuntu18.04
2020-04-06T09:16:48.9377538Z   Unable to connect to azure.archive.ubuntu.com:http:
2020-04-06T09:16:48.9378238Z Err:16 http://azure.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libxcb-present-dev amd64 1.13-2~ubuntu18.04
2020-04-06T09:16:48.9378711Z   Unable to connect to azure.archive.ubuntu.com:http:
2020-04-06T09:16:48.9379513Z Err:17 http://azure.archive.ubuntu.com/ubuntu bionic/main amd64 x11proto-fixes-dev all 1:2018.4-4
2020-04-06T09:16:48.9379963Z   Unable to connect to azure.archive.ubuntu.com:http:
2020-04-06T09:16:48.9381145Z Err:18 http://azure.archive.ubuntu.com/ubuntu bionic/main amd64 libxfixes-dev amd64 1:5.0.3-1
2020-04-06T09:16:48.9381665Z   Unable to connect to azure.archive.ubuntu.com:http:
2020-04-06T09:16:48.9382565Z Err:19 http://azure.archive.ubuntu.com/ubuntu bionic/main amd64 x11proto-damage-dev all 1:2018.4-4
2020-04-06T09:16:48.9383066Z   Unable to connect to azure.archive.ubuntu.com:http:
2020-04-06T09:16:48.9383906Z Err:20 http://azure.archive.ubuntu.com/ubuntu bionic/main amd64 libxdamage-dev amd64 1:1.1.4-3
2020-04-06T09:16:48.9384600Z   Unable to connect to azure.archive.ubuntu.com:http:
2020-04-06T09:16:48.9385792Z Err:21 http://azure.archive.ubuntu.com/ubuntu bionic/main amd64 libxshmfence-dev amd64 1.3-1
2020-04-06T09:16:48.9386269Z   Unable to connect to azure.archive.ubuntu.com:http:
2020-04-06T09:16:48.9386941Z Err:22 http://azure.archive.ubuntu.com/ubuntu bionic/main amd64 x11proto-xf86vidmode-dev all 2018.4-4
2020-04-06T09:16:48.9387414Z   Unable to connect to azure.archive.ubuntu.com:http:
2020-04-06T09:16:48.9388214Z Err:23 http://azure.archive.ubuntu.com/ubuntu bionic/main amd64 libxxf86vm-dev amd64 1:1.1.4-1
2020-04-06T09:16:48.9388655Z   Unable to connect to azure.archive.ubuntu.com:http:
2020-04-06T09:16:48.9389328Z Err:24 http://azure.archive.ubuntu.com/ubuntu bionic-updates/main amd64 mesa-common-dev amd64 19.2.8-0ubuntu0~18.04.3
2020-04-06T09:16:48.9389789Z   Unable to connect to azure.archive.ubuntu.com:http:
2020-04-06T09:16:48.9390427Z Err:25 http://azure.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libegl1 amd64 1.0.0-2ubuntu2.3
2020-04-06T09:16:48.9390884Z   Unable to connect to azure.archive.ubuntu.com:http:
2020-04-06T09:16:48.9391549Z Err:26 http://azure.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libglvnd-core-dev amd64 1.0.0-2ubuntu2.3
2020-04-06T09:16:48.9392013Z   Unable to connect to azure.archive.ubuntu.com:http:
2020-04-06T09:16:48.9392656Z Err:27 http://azure.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libgles2 amd64 1.0.0-2ubuntu2.3
2020-04-06T09:16:48.9393115Z   Unable to connect to azure.archive.ubuntu.com:http:
2020-04-06T09:16:48.9393762Z Err:28 http://azure.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libopengl0 amd64 1.0.0-2ubuntu2.3
2020-04-06T09:16:48.9394219Z   Unable to connect to azure.archive.ubuntu.com:http:
2020-04-06T09:16:48.9394871Z Err:29 http://azure.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libglvnd-dev amd64 1.0.0-2ubuntu2.3
2020-04-06T09:16:48.9395329Z   Unable to connect to azure.archive.ubuntu.com:http:
2020-04-06T09:16:48.9395998Z Err:30 http://azure.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libgl1-mesa-dev amd64 19.2.8-0ubuntu0~18.04.3
2020-04-06T09:16:48.9396461Z   Unable to connect to azure.archive.ubuntu.com:http:
2020-04-06T09:16:49.1134196Z Get:1 http://security.ubuntu.com/ubuntu bionic-updates/main amd64 libdrm-dev amd64 2.4.99-1ubuntu1~18.04.2 [125 kB]
2020-04-06T09:16:49.4578262Z Get:2 http://security.ubuntu.com/ubuntu bionic-updates/main amd64 libwayland-server0 amd64 1.16.0-1ubuntu1.1~18.04.3 [29.6 kB]
2020-04-06T09:16:49.5019774Z Fetched 155 kB in 31s (5019 B/s)
2020-04-06T09:16:49.5021104Z E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/m/mesa/libgbm1_19.2.8-0ubuntu0~18.04.3_amd64.deb  Unable to connect to azure.archive.ubuntu.com:http:
2020-04-06T09:16:49.5022228Z E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/libx/libxcb/libxcb-xfixes0_1.13-2~ubuntu18.04_amd64.deb  Unable to connect to azure.archive.ubuntu.com:http:
2020-04-06T09:16:49.5023197Z E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/m/mesa/libegl-mesa0_19.2.8-0ubuntu0~18.04.3_amd64.deb  Unable to connect to azure.archive.ubuntu.com:http:
2020-04-06T09:16:49.5024186Z E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/libg/libglvnd/libgles1_1.0.0-2ubuntu2.3_amd64.deb  Unable to connect to azure.archive.ubuntu.com:http:
2020-04-06T09:16:49.5025409Z E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/libx/libx11/libx11-xcb-dev_1.6.4-3ubuntu0.2_amd64.deb  Unable to connect to azure.archive.ubuntu.com:http:
2020-04-06T09:16:49.5026462Z E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/libx/libxcb/libxcb-dri2-0-dev_1.13-2~ubuntu18.04_amd64.deb  Unable to connect to azure.archive.ubuntu.com:http:
2020-04-06T09:16:49.5027445Z E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/libx/libxcb/libxcb-dri3-dev_1.13-2~ubuntu18.04_amd64.deb  Unable to connect to azure.archive.ubuntu.com:http:
2020-04-06T09:16:49.5028409Z E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/libx/libxcb/libxcb-glx0-dev_1.13-2~ubuntu18.04_amd64.deb  Unable to connect to azure.archive.ubuntu.com:http:
2020-04-06T09:16:49.5029526Z E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/libx/libxcb/libxcb-randr0_1.13-2~ubuntu18.04_amd64.deb  Unable to connect to azure.archive.ubuntu.com:http:
2020-04-06T09:16:49.5030525Z E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/libx/libxcb/libxcb-randr0-dev_1.13-2~ubuntu18.04_amd64.deb  Unable to connect to azure.archive.ubuntu.com:http:
2020-04-06T09:16:49.5031509Z E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/libx/libxcb/libxcb-shape0-dev_1.13-2~ubuntu18.04_amd64.deb  Unable to connect to azure.archive.ubuntu.com:http:
2020-04-06T09:16:49.5032580Z E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/libx/libxcb/libxcb-xfixes0-dev_1.13-2~ubuntu18.04_amd64.deb  Unable to connect to azure.archive.ubuntu.com:http:
2020-04-06T09:16:49.5033525Z E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/libx/libxcb/libxcb-sync-dev_1.13-2~ubuntu18.04_amd64.deb  Unable to connect to azure.archive.ubuntu.com:http:
2020-04-06T09:16:49.5034476Z E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/libx/libxcb/libxcb-present-dev_1.13-2~ubuntu18.04_amd64.deb  Unable to connect to azure.archive.ubuntu.com:http:
2020-04-06T09:16:49.5035409Z E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/x/xorgproto/x11proto-fixes-dev_2018.4-4_all.deb  Unable to connect to azure.archive.ubuntu.com:http:
2020-04-06T09:16:49.5036352Z E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/libx/libxfixes/libxfixes-dev_5.0.3-1_amd64.deb  Unable to connect to azure.archive.ubuntu.com:http:
2020-04-06T09:16:49.5037269Z E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/x/xorgproto/x11proto-damage-dev_2018.4-4_all.deb  Unable to connect to azure.archive.ubuntu.com:http:
2020-04-06T09:16:49.5038193Z E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/libx/libxdamage/libxdamage-dev_1.1.4-3_amd64.deb  Unable to connect to azure.archive.ubuntu.com:http:
2020-04-06T09:16:49.5039119Z E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/libx/libxshmfence/libxshmfence-dev_1.3-1_amd64.deb  Unable to connect to azure.archive.ubuntu.com:http:
2020-04-06T09:16:49.5040617Z E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/x/xorgproto/x11proto-xf86vidmode-dev_2018.4-4_all.deb  Unable to connect to azure.archive.ubuntu.com:http:
2020-04-06T09:16:49.5041572Z E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/libx/libxxf86vm/libxxf86vm-dev_1.1.4-1_amd64.deb  Unable to connect to azure.archive.ubuntu.com:http:
2020-04-06T09:16:49.5042530Z E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/m/mesa/mesa-common-dev_19.2.8-0ubuntu0~18.04.3_amd64.deb  Unable to connect to azure.archive.ubuntu.com:http:
2020-04-06T09:16:49.5043455Z E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/libg/libglvnd/libegl1_1.0.0-2ubuntu2.3_amd64.deb  Unable to connect to azure.archive.ubuntu.com:http:
2020-04-06T09:16:49.5044400Z E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/libg/libglvnd/libglvnd-core-dev_1.0.0-2ubuntu2.3_amd64.deb  Unable to connect to azure.archive.ubuntu.com:http:
2020-04-06T09:16:49.5045435Z E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/libg/libglvnd/libgles2_1.0.0-2ubuntu2.3_amd64.deb  Unable to connect to azure.archive.ubuntu.com:http:
2020-04-06T09:16:49.5046412Z E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/libg/libglvnd/libopengl0_1.0.0-2ubuntu2.3_amd64.deb  Unable to connect to azure.archive.ubuntu.com:http:
2020-04-06T09:16:49.5055003Z E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/libg/libglvnd/libglvnd-dev_1.0.0-2ubuntu2.3_amd64.deb  Unable to connect to azure.archive.ubuntu.com:http:
2020-04-06T09:16:49.5055991Z E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/m/mesa/libgl1-mesa-dev_19.2.8-0ubuntu0~18.04.3_amd64.deb  Unable to connect to azure.archive.ubuntu.com:http:
2020-04-06T09:16:49.5056974Z E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
2020-04-06T09:16:49.5066205Z ##[error]The process 'sudo' failed with exit code 100
2020-04-06T09:16:49.5810212Z Post job cleanup.

This happens per 10~30 runs to me. Re-run usually fix this.

This seems like a problem with the network. I think the best solution is to retry several times if it fails.

Crash on unpacking

Hello! Thank you for your action. In the last few days the action crashes when unpacking. Here is the log. I use this with the default configuration:

- name: Install Qt
  uses: jurplel/[email protected]

Installation on windows-latest is invalid

Installation failed with:

python -m aqt install -O d:\a\colorOverlay/Qt 5.12.6 windows desktop win64_mingw53 -m ""
2020-02-11 19:55:43,107 - aqt - WARNING - Some of specified modules are unknown.

By adding any module (qtcharts) no package can be found:

python -m aqt install -O d:\a\colorOverlay/Qt 5.11.3 windows desktop win64_mingw53 -m qtcharts
2020-02-11 20:21:09,658 - aqt - ERROR - Error while parsing package information!

Here a sample configuration

jobs:
  build:
    name: Build on ${{matrix.os}}
    runs-on: ${{ matrix.os }}

    strategy:
      fail-fast: false
      matrix:
        os: [macos-latest, ubuntu-latest, windows-latest]
    steps:
      - name: Install Qt5
        uses: jurplel/install-qt-action@v2
        if: contains( matrix.os, 'windows')
        with:
          arch: win64_mingw53

Wrong call for modules

Using the following action:

- name: Installing QT
      uses: jurplel/install-qt-action@v2
      with:	
        modules: qtscript xmlpatterns

produces the following call:

[command]python -m aqt install -O d:\a\meshlab/Qt 5.12.6 windows desktop win64_msvc2017_64 "-m qtscript xmlpatterns"

I think the quotes are wrong.

A great amount of time for the win64_mingw73 arch

The win64_mingw73 arch takes a lot of time to be installed. As you can see from here, it took more than 17 minutes. Before it took only 1 minute, as you can see from here.

If I use the default arch, win64_msvc2017_64, the problem doesn't occur.

Thanks in advance for your help! :)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.