mirror of
https://gitea.com/gitea/act_runner.git
synced 2026-03-03 18:30:20 +00:00
adds the tart:// protocol to platform mapping e.g. `-P macos-14=tart://ghcr.io/cirruslabs/macos-sonoma-base:latest` if you have a mac. `add-path` is probably broken
17 lines
267 B
Go
17 lines
267 B
Go
//go:build !darwin
|
|
|
|
package runner
|
|
|
|
import (
|
|
"context"
|
|
"fmt"
|
|
|
|
"github.com/actions-oss/act-cli/pkg/common"
|
|
)
|
|
|
|
func (rc *RunContext) startTartEnvironment() common.Executor {
|
|
return func(_ context.Context) error {
|
|
return fmt.Errorf("You need macOS for tart")
|
|
}
|
|
}
|