Created
October 23, 2022 23:37
-
-
Save Zeyu-Li/a95cef4405b4a5667420ae678f23c3ad to your computer and use it in GitHub Desktop.
Running github actions locally
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [Unit] | |
| Description="run.service added by add_service: Namespace(name=None, script='/home/ubuntu/actions-runner/run.sh', start=False, user='ubuntu')" | |
| After=network.service | |
| [Service] | |
| Type=simple | |
| User=ubuntu | |
| Group=ubuntu | |
| WorkingDirectory=/home/ubuntu/actions-runner | |
| ExecStart=/home/ubuntu/actions-runner/run.sh | |
| PrivateTmp=true | |
| Restart=on-failure | |
| [Install] | |
| WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment