# Triggering the rclone Build GitHub Action

The `rclone Build` GitHub Actions workflow automates the process of building platform-specific binaries for the Züs-integrated rclone client.

This guide explains how to manually trigger a build from the GitHub Actions UI.

**1. Navigate to the Workflow**

* Go to the GitHub repository: `https://github.com/0chain/rclone_zus`. Click the **Actions** tab in the top menu.
* In the left sidebar under **"Workflows"**, select **`rclone Build`**.

<figure><img src="https://2414485336-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUGN3Vu2Hi1voQQLrIVGO%2Fuploads%2FGSPlr38Ez1kh2vAUVEyg%2Fimage.png?alt=media&#x26;token=a8428c47-bc92-4afe-8b23-6ae42ef3e612" alt=""><figcaption></figcaption></figure>

* The workflow summary page will load, showing the list of recent workflow runs.

**2. Click “Run workflow”**

* On the upper right of the workflow summary page, click the **`Run workflow`** button.
* A dropdown form will appear with two input fields defined via `workflow_dispatch`.

<figure><img src="https://2414485336-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUGN3Vu2Hi1voQQLrIVGO%2Fuploads%2FyL2IAswnJsGINwp7rncR%2Fimage.png?alt=media&#x26;token=39d83fe1-a677-4f1a-8b4f-2f7da1382c97" alt=""><figcaption></figcaption></figure>

**3. Fill in Inputs**

You will need to enter the following inputs:

* **branch** (required):\
  Enter the Git reference for the build.\
  Example: `feat/rclone-build`
* **build\_type** (required):\
  Choose one of the following options:
  * `all` – builds binaries for all supported platforms
  * `linux` – builds the Linux binary
  * `windows` – builds the Windows binary
  * `mac-amd` – builds for macOS (Intel)
  * `mac-arm` – builds for macOS (Apple Silicon)

**4. Start the Workflow**

* After filling in the form, click the **green `Run workflow`** button at the bottom.
* The workflow will be triggered with the specified parameters.
* Monitor the progress of each job in the **Actions** UI. Job logs and status are displayed in real-time.

<figure><img src="https://2414485336-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUGN3Vu2Hi1voQQLrIVGO%2Fuploads%2Fy86zdFT5bzn3EuPtFjGe%2Fimage.png?alt=media&#x26;token=10c94bbb-6d19-4ea1-aa3a-4f78103dfd5c" alt=""><figcaption></figcaption></figure>

#### Output Artifacts

Once the build completes, you can download the platform-specific binary from the respective job:

* Expand the job (e.g. `Build Linux Binary`, `Build Windows Binary`)

<figure><img src="https://2414485336-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUGN3Vu2Hi1voQQLrIVGO%2Fuploads%2FDmrsZMoG2KtnfmNdzxAe%2Fimage.png?alt=media&#x26;token=52d1a76d-6fd6-45fa-986d-9a9b63414e10" alt=""><figcaption></figcaption></figure>

* Under **Artifacts**, download the resulting file (e.g. `rclone-linux`, `rclone-windows`, etc.)

<figure><img src="https://2414485336-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUGN3Vu2Hi1voQQLrIVGO%2Fuploads%2FyC0cXfOezHKT2UwZ6ybj%2Fimage.png?alt=media&#x26;token=002d2460-6887-4738-834a-e5d52e5680cb" alt=""><figcaption></figcaption></figure>
