mirror of
https://github.com/actions/runner.git
synced 2025-12-10 04:06:57 +00:00
Without creating a session, the service is not able to access the keychains for the user specified under `UserName`. This causes any workflow that deals with code signing to fail as the only keychain loaded with be the system one. This should fix #350
32 lines
940 B
XML
32 lines
940 B
XML
<?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>{{SvcName}}</string>
|
|
<key>ProgramArguments</key>
|
|
<array>
|
|
<string>{{RunnerRoot}}/runsvc.sh</string>
|
|
</array>
|
|
<key>UserName</key>
|
|
<string>{{User}}</string>
|
|
<key>WorkingDirectory</key>
|
|
<string>{{RunnerRoot}}</string>
|
|
<key>RunAtLoad</key>
|
|
<true/>
|
|
<key>StandardOutPath</key>
|
|
<string>{{UserHome}}/Library/Logs/{{SvcName}}/stdout.log</string>
|
|
<key>StandardErrorPath</key>
|
|
<string>{{UserHome}}/Library/Logs/{{SvcName}}/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>
|