jurplel / install-qt-action

Install Qt on your Github Actions workflows with just one simple action
MIT License
446 stars 78 forks source link

Feature: Support for nektos/act #228

Open higaski opened 4 months ago

higaski commented 4 months ago

It's currently not possible to run this action on nektos/act. My understanding is that this is due to nektos/act not supporting caching out of the box... ? But please don't quote me on that, I'm fairly new to all of this.

When running the action on act I get the following errors regarding cache

| Successfully set up CPython (3.11.7)
[build/x86_64-linux-gnu-gcc]   ❓  ::endgroup::
[build/x86_64-linux-gnu-gcc]   ❗  ::error::Caching for 'false' is not supported
[build/x86_64-linux-gnu-gcc]   ❌  Failure - Main Setup Python
| Successfully set up CPython (3.11.7)
[build/x86_64-linux-gnu-gcc]   ❓  ::endgroup::
[build/x86_64-linux-gnu-gcc]   ❗  ::error::Caching for 'true' is not supported
[build/x86_64-linux-gnu-gcc]   ❌  Failure - Main Setup Python

Would it be possible to somehow work around this issue?

jurplel commented 2 months ago

Can you not set cache: false in the action settings in that case?

RTUnreal commented 1 month ago

running with the following:

      - name: Install Qt    
        uses: jurplel/install-qt-action@v3    
        with:    
          version: '6.7.0'    
          cache: false

I get:

| Successfully set up CPython (3.11.9)
[Test/test-1]   ❓  ::endgroup::
[Test/test-1]   ❗  ::error::Caching for 'false' is not supported
[Test/test-1]   ❌  Failure - Main Setup Python