block / block/bundle-cache

GitHub Action: support running without pre-action

Aperta
#9 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Go
Stelle
21
Fork
3
Merge medio
21g 9h
PR unite (30g)
1

Descrizione

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?

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
github-actions, go
Ambito
build-system, ci-cd
Tipo di issue
Funzionalità
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Tranquilla
Chiarezza
Abbastanza chiara
Idoneità per principianti
52/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.