Clarify labels #69

Merged
wolfogre merged 6 commits from wolfogre/act_runner:feature/host_mode into main 2023-03-23 12:48:33 +00:00
Showing only changes of commit 32da12c0e6 - Show all commits

View File

@ -38,7 +38,7 @@ func (s *Runner) platformPicker(labels []string) string {
// "ubuntu-18.04:docker://node:16-buster"
// "linux_arm:host"
platforms := make(map[string]string, len(labels))
platforms := make(map[string]string, len(s.Labels))
wolfogre marked this conversation as resolved Outdated

should be make(map[string]string, len(s.Labels)) ?

should be `make(map[string]string, len(s.Labels))` ?
for _, l := range s.Labels {
// "ubuntu-18.04:docker://node:16-buster"
splits := strings.SplitN(l, ":", 2)