2023-01-18 09:23:36 +01:00
---
2023-07-14 14:37:01 +02:00
title: All with GitHub Actions
2023-01-18 09:50:39 +01:00
weight: 35
2023-01-18 09:23:36 +01:00
---
{{% notice note %}}
2023-07-13 13:06:05 +02:00
This build uses GitHub Actions, you will need a GitHub account, also building can be slow, however this requires no development environment.
2023-01-18 09:23:36 +01:00
{{% /notice %}}
2023-10-10 21:37:38 +02:00
### Make a fork
2023-01-18 09:23:36 +01:00
2023-07-16 18:52:25 +02:00
Go to https://github.com/rustdesk/rustdesk/fork and click "Create fork".
2023-01-18 09:23:36 +01:00
2023-10-10 21:37:38 +02:00
### Set your environment variables (optional)
2023-01-18 09:23:36 +01:00
{{% notice note %}}
You only need to do this if you want to change the default server and public key.
2023-01-20 04:58:08 +01:00
2024-02-09 21:28:00 +01:00
The server URL and key you are using is hidden from other users on GitHub however they can download your client and connect to your server. If you require a fully private repo you can import the RustDesk Client repo using https://github.com/new/import. < br >
**If you use a private repo you have limited amounts of builds you can create per month, if you need more you will need to have a paid GitHub account.**
2023-01-18 09:23:36 +01:00
{{% /notice %}}
2023-11-04 22:13:58 +01:00
On your fork you just created go to "Settings → Secrets and variables → Actions".
2023-01-18 09:23:36 +01:00
2023-02-03 23:19:24 +01:00
Click "New repository secret", for the name put RENDEZVOUS_SERVER, for the secret put your servers name/ip address.
2023-01-18 09:23:36 +01:00
2023-02-03 23:19:24 +01:00
Click "Add secret".
2023-01-18 09:23:36 +01:00
2023-02-03 23:19:24 +01:00
Click "New repository secret", for the name put RS_PUB_KEY, for the secret put your servers public key.
2023-01-18 09:23:36 +01:00
2023-02-03 23:19:24 +01:00
Click "Add secret".
2023-01-18 09:23:36 +01:00
2023-10-10 21:37:38 +02:00
### Enable workflows
2023-01-18 09:23:36 +01:00
2023-11-04 22:13:58 +01:00
On your fork you just created go to "Settings → Actions → General".
2023-01-20 05:45:34 +01:00
2023-03-09 12:29:25 +01:00
On the right, select "Allow all actions and reusable workflows".
2023-01-18 09:23:36 +01:00
2023-07-16 18:52:25 +02:00
Once workflows are enabled you can go to “Actions”.
2023-03-09 12:29:25 +01:00
On the left, select "Flutter Nightly Build". Then on the right, click "Enable workflow".
2023-10-01 13:49:24 +02:00
Finally you can click "Run workflow" to build the RustDesk Clients for all of the supported platforms.
2023-01-18 09:23:36 +01:00
2023-10-10 21:37:38 +02:00
### Enable upload permissions for workflows
2023-01-18 09:23:36 +01:00
2023-11-04 22:13:58 +01:00
On your fork you just created go to "Settings → Actions → General".
2023-01-18 09:23:36 +01:00
2023-02-03 23:19:24 +01:00
Scroll down and under Workflow permissions enable "Read and write permissions".
2023-01-18 09:23:36 +01:00
2023-10-10 21:37:38 +02:00
### Download your built packages
2023-01-18 09:23:36 +01:00
2023-07-13 13:06:05 +02:00
After the workflow is done running you can download the packages it built.
2023-01-18 09:23:36 +01:00
2023-07-16 18:52:25 +02:00
Go to the main page of your fork, on the right click "Releases". The packages you just built will show up under "Nightly".