1.3 KiB
1.3 KiB
Gitea Runner on Windows 10
Setup
- Download
.exe
from https://gitea.com/gitea/act_runner/releases - Register runner
- Move
.exe
and.runner
toC:\Program Files\gitea\
- Add
C:\Program Files\gitea\runner.bat
cd "C:\Program Files\gitea" act_runner-0.2.6-windows-amd64.exe daemon
- Add startup task with task scheduler.
Program:
C:\Windows\System32\cmd.exe
Arguments:/k "C:\Program Files\gitea\runner.bat"
- Disable auto-stop after 3 days
- Run whether user is logged in or not
- From admin powershell change the execution policy
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope LocalMachine
- Download
nvm-setup.exe
from https://github.com/coreybutler/nvm-windows/releases and install- Verify installation with
nvm ls
which should sayNo installations recognized.
- Verify installation with
nvm list available
to determine the latest LTS version- Install the latest LTS version
nvm install 20.11.1
(replace version) nvm use 20.11.1
to select what was just installed- Download and install git (64b) from https://git-scm.com/download/win (default settings are fine)
- Edit environment variables and add
C:\Program Files\Git\mingw64\bin
to user Path permanently
Updating
Just download a new .exe
and update the path in runner.bat