curl -o actions-runner-osx-x64-2.321.0.tar.gz -L https://github.com/actions/runner/releases/download/v2.321.0/actions-runner-osx-x64-2.321.0.tar.gz echo "b2c91416b3e4d579ae69fc2c381fc50dbda13f1b3fcc283187e2c75d1b173072 actions-runner-osx-x64-2.321.0.tar.gz" | shasum -a 256 -c tar xzf ./actions-runner-osx-x64-2.321.0.tar.gz ./config.sh --url https://github.com/funds123/tpsdk --token BMOPQPZNQKB57MXE4BDDKKTHMTHJO ./run.sh
Save this configuration as com.github.actions.runner.plist in
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>actions-runner</string>
<key>ProgramArguments</key>
<array>
<string>/Users/yourusername/actions-runner/runsvc.sh</string>
</array>
<key>UserName</key>
<string>yourusername</string>
<key>WorkingDirectory</key>
<string>/Users/yourusername/actions-runner</string>
<key>RunAtLoad</key>
<true/>
<key>StandardOutPath</key>
<string>/Users/yourusername/Library/Logs/actions-runner/stdout.log</string>
<key>StandardErrorPath</key>
<string>/Users/yourusername/Library/Logs/actions-runner/stderr.log</string>
<key>EnvironmentVariables</key>
<dict>
<key>ACTIONS_RUNNER_SVC</key>
<string>1</string>
</dict>
<key>ProcessType</key>
<string>Interactive</string>
<key>SessionCreate</key>
<true/>
</dict>
</plist>
- Runner Directory:
Update /Users/yourusername/actions-runner to match the path where you’ve set up the runner. 2. Logs Directory: Ensure the path /Users/yourusername/Library/Logs/actions-runner exists or create it. 3. Replace yourusername: Use your actual macOS username. Next Steps 1. Save this file as com.github.actions.runner.plist in ~/Library/LaunchAgents. 2. Follow the steps from the previous message to load and start the service.