-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a get-pants-version config option to specify the get-pants.sh --v…
…ersion to use. (#34) When installing pants via actions/init-pants the latest version of the scie-pants is used by default. This broke for folks using linux aarch64 due to a problem with the builds (see pantsbuild/scie-pants#430). Add an input which allows you to specify a version to pass into `get-pants.sh --version`, e.g. "0.12.0" calls it with `get-pants.sh --version 0.12.0`. When no version is specified the flag is omitted and the default of the latest version is used. We've been using this with the following in our fork to pin our build scie-pants version: ```yaml - uses: Noryai/pants-actions/init-pants@main with: get-pants-version: 0.12.0 ```
- Loading branch information
1 parent
d767b35
commit 56efcdb
Showing
2 changed files
with
17 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters