GitHub Action: support running without pre-action

Open
#9 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
52/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
github-actions, go

Research direction

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.

Written by the indexing model from the issue text.

Description

In our repo we're using 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?

Dominant language
Go
Stars
21
Forks
3
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from block/bundle-cache

All issues in block/bundle-cache

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.