diff --git a/cmd/action.go b/cmd/action.go index 67b1d19..37222fc 100644 --- a/cmd/action.go +++ b/cmd/action.go @@ -19,7 +19,7 @@ func AddGitHubArgs(args []string, flags *pflag.FlagSet) ([]string, error) { args = make([]string, 0) - flags.Visit(func(flag *pflag.Flag) { + flags.VisitAll(func(flag *pflag.Flag) { args = ghinput(args, flag) }) diff --git a/cmd/k6dist/main.go b/cmd/k6dist/main.go index d972022..7d2f0c6 100644 --- a/cmd/k6dist/main.go +++ b/cmd/k6dist/main.go @@ -45,8 +45,6 @@ func newCmd(args []string, levelVar *slog.LevelVar) (*cobra.Command, error) { return nil, err } - slog.Debug("arguments", "args", args) - root.SetArgs(args) return root, nil diff --git a/releases/v0.1.5.md b/releases/v0.1.5.md new file mode 100644 index 0000000..a627917 --- /dev/null +++ b/releases/v0.1.5.md @@ -0,0 +1,3 @@ +🎉 k6dist `v0.1.5` is here! + +Fix input parameter handling in GitHub Action mode. \ No newline at end of file