melusina-org/Setup MacPorts

Configure and install MacPorts on a Mac OS runner.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Mar 29, 2026
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: melusina-org/setup-macports@103eded5f10979e927bffcd6d0b86cbbdb2c3bb3 # v1.1.6

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
parametersPathname to a configuration file for the GHA-INSTALL-MACPORTS action. When no pathname is provided, the configuration is expected to be found under .github/parameters/gha-install-macports.yaml It is however no error when this file is not present. The configuration file is in YAML and has the following format: version: '2.11.5' The MacPorts version to install. prefix: '/opt/local' The installation prefix to install MacPortd to. Currently the only supported value is '/opt/local'. variants.select: [] The list of selected variants in the global variants configuration. See Also variants.conf(5). variants.deselect: [] The list of deselected variants in the global variants configuration. See Also: variants.conf(5). sources: ['rsync://rsync.macports.org/macports/release/tarballs/ports.tar'] The list of source locations for port definitions. The first entry of the list is marked with default. See Also: sources.conf(5) ports: [] The list of additional ports to install. Each term of the list is a dictionart with the mandatory 'name' holding the name of the port to install, optional key 'select' for the list of selected variants for this port, and the optional 'key' deselect for the list of deselected variants for this port. yes:no-value
cacheWether to `enable` (default) or `disable` the cache.noenable
namedescription
packageThe URL of the package used for the MacPorts installation.
prefixThe installation prefix for the MacPorts installation.
versionThe MacPorts version installed.