question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Move post-action into main-action to allow 3rd party GitHub action runner

See original GitHub issue

GitHub action runner unfortunately only supports the three major OS systems, e.g. Windows, macOS, Linux (unlike GitLab runner). Native users may want to run their Gradle build on other self-hosted systems such as FreeBSD, Solaris, etc. or other architectures like PPC, MIPS, ARM, etc. The github-act-runner seems to be the recommended solution. Unfortunately, this runner doesn’t support pre/post actions. Double unfortunately, GitHub doesn’t seem to be interested in solving support for more OS/Architecture any time soon.

It seems to be quite trivial to modify the action and execute the only cache.save() in the main-action allowing wider support for this GitHub action.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
bigdazcommented, Jan 28, 2022

As I said, I’m willing to make it possible to use a separate action step to cache the Gradle User Home, assuming that this change doesn’t impact the majority of users who don’t require it. I think the simplest and least intrusive mechanism would be a special configuration option that enables this.

If you’re interested in pushing this forward I suggest that you fork this repo and try it out. My experience with https://github.com/nektos/act was not great, so there may be other blockers in getting gradle-build-action to work on github-act-runner.

0reactions
lacasseiocommented, Jan 28, 2022

I don’t exactly agree, but I can see why it isn’t much of an issue. Let’s close this issue as won’t fix.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Developing a third party CLI action - GitHub Enterprise Cloud ...
Introduction. You can write an action to provide a way for users to access your servers via a configured CLI environment on GitHub...
Read more >
Add FreeBSD runner · Issue #2529 - GitHub
Although FreeBSD is used by many teams in production, ... Move post-action into main-action to allow 3rd party GitHub action runner ...
Read more >
Managing GitHub Actions settings for a repository - GitHub Docs
When you enable GitHub Actions, workflows are able to run actions and reusable workflows located within your repository and any other public repository....
Read more >
Workflow commands for GitHub Actions
You can use workflow commands when running shell commands in a workflow or in an ... to the main: action, and then use...
Read more >
Metadata syntax for GitHub Actions - GitHub Docs
You can create actions to perform tasks in your repository. Actions require a metadata file that uses YAML syntax.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found