GitHub Action: support running without pre-action
- Vorherrschende Sprache
- Go
- Sterne
- 21
- Forks
- 3
- Ø Merge
- 21 T. 9 Std.
- Gemergte PRs (30 T.)
- 1
Beschreibung
In our repo we're using a [composite action](https://docs.github.com/en/actions/tutorials/create-actions/create-a-composite-action) in the same repository that does all common setup steps like installing Java, Android SDK etc. I'd like to add this action to it, however it prints this "Warning: `pre` execution is not supported for local action from './.github/actions/prepare-gradle'", meaning that the binary will not be installed.
Could the main action check that the binary is installed and if not call install as well? Or could there be an option for this?
Beitragsleitfaden
Rechercherichtung
Start by tracing the main action entry point and comparing it with .github/actions/prepare-gradle; inspect how binary installation is currently triggered. Done means the action works when invoked from a local composite action without pre-action support, while retaining the existing setup behavior.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- github-actions, go
- Bereich
- build-system, ci-cd
- Issue-Typ
- Feature
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Ruhig
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 52/100