jurplel / install-qt-action

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

How to use this action with reusable workflows? #214

Closed herzenschein closed 6 months ago

herzenschein commented 8 months ago

The only way I managed to use this action was by adding it as one of the steps in a job. Subsequent steps can access the installed Qt.

Is it possible to use this action with reusable workflows, and if so, how?

pzhlkj6612 commented 8 months ago

Hello.

Didn't dig into reusable workflows. A question: does GitHub Actions share its workspace between jobs?

Limitations

  • Reusable workflows are called directly within a job, and not from within a job step...

If so, the environment variable is the only thing we should care about; if not, I don't think this action would work with reusable workflows as expected.

jurplel commented 6 months ago

closing due to inactivity, feel free to reopen