Skip to content

Allow disabling cache, some refinements to version selection #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

Lord-Kamina
Copy link

This PR does a couple things.

  1. It adds an input to allow disabling the cache step. The reason for this is because I intend to wrap this action with something I'm working on, and I'll implement the caching in there.

  2. It removes the "version" parameter from the CI workflows, which is related to

  3. The action gets the version information exclusively from the parameter file. But, if that is left blank, it instead defaults to the latest macports release. If a version is specified, much like using a different prefix, macports will be built from source instead of using an installer package. The reason for this is simple: The package runs selfupdate as a postflight script. If somebody goes to the trouble of specifying a particular version, I assume it's because for some reason they don't want the latest version and thus presumably, they wouldn't want it to update automatically. (Don't really know why would someone want that, though)

It’s a useless test.

Signed-off-by: Gregorio Litenstein <[email protected]>
@foretspaisibles
Copy link
Contributor

It looks great, thanks! I'll review that today.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants