Skip to content

Commit 4e1b6c1

Browse files
Display actrc location dynamically
1 parent b696840 commit 4e1b6c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/root.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -639,7 +639,7 @@ func newRunCommand(ctx context.Context, input *Input) func(*cobra.Command, []str
639639
func defaultImageSurvey(actrc string) error {
640640
var answer string
641641
confirmation := &survey.Select{
642-
Message: "Please choose the default image you want to use with act:\n - Large size image: ca. 17GB download + 53.1GB storage, you will need 75GB of free disk space, snapshots of GitHub Hosted Runners without snap and pulled docker images\n - Medium size image: ~500MB, includes only necessary tools to bootstrap actions and aims to be compatible with most actions\n - Micro size image: <200MB, contains only NodeJS required to bootstrap actions, doesn't work with all actions\n\nDefault image and other options can be changed manually in ~/.config/act/actrc (please refer to https://github.com/nektos/act#configuration for additional information about file structure)",
642+
Message: "Please choose the default image you want to use with act:\n - Large size image: ca. 17GB download + 53.1GB storage, you will need 75GB of free disk space, snapshots of GitHub Hosted Runners without snap and pulled docker images\n - Medium size image: ~500MB, includes only necessary tools to bootstrap actions and aims to be compatible with most actions\n - Micro size image: <200MB, contains only NodeJS required to bootstrap actions, doesn't work with all actions\n\nDefault image and other options can be changed manually in " + configLocations()[0] + " (please refer to https://github.com/nektos/act#configuration for additional information about file structure)",
643643
Help: "If you want to know why act asks you that, please go to https://github.com/nektos/act/issues/107",
644644
Default: "Medium",
645645
Options: []string{"Large", "Medium", "Micro"},

0 commit comments

Comments
 (0)