Merge pull request #24 from MustardChef/MustardChef-patch-3

Adding Github Actions build guide
This commit is contained in:
MCDeltaT 2023-02-27 18:18:10 +00:00 committed by GitHub
commit 34f01185b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,7 +26,75 @@
> ### I will move to a more transparent method of building MagiskOnWSA builds soon, due to the overarching concerns with safety, transparancy and build integrity
> #### The same level of scrutiny should be applied with the Windows Subsystem For Android™ builds as with any other program that you download from the internet
</details>
</details>
<details>
<summary><h3> &nbsp; ❓Want to build your own custom build❓ <h3></summary>
> **Note**
> <br> If you can, please download WSA from the [Releases](https://github.com/MustardChef/WSABuilds/releases) or request a prebuilt custom build using the [Issues page](https://github.com/MustardChef/WSABuilds/issues.)<br />
> <br>However, this guide gives you the option to build your own build using the MagiskOnWSA Github Actions Script from the community<br />
> **Warning**
> **Important:**
> Please **do not directly fork** the repo provided in the instructions below. Instead, follow the instructions set out clearly, to avoid the repo from being taken down as a result of a misuse of Github Actions due to the large number of forks.
### **Instructions**
---
#### **1. Log into your Github Account (this is necessary) and in the home page, click on the button (shown below) and select "import a repository" or go to [this page directly](https://github.com/new/import)**
***Step 1:***
<img src="https://user-images.githubusercontent.com/68516357/221636520-78d0716a-247b-4034-aa9d-bdbe2277950c.png" style="width: 350px;"/>
***Step 2:***
![image](https://user-images.githubusercontent.com/68516357/221641202-e3ef4deb-f2dd-46e6-82c8-fb4767f82e99.png)
---
#### **2. [Copy the URL of this Repo](https://github.com/MustardChef/WSA-Script) and paste it into the the text box below and press "Import"**
![image](https://user-images.githubusercontent.com/68516357/221643582-72d71f68-8f53-48d9-a940-692a54d42098.png)
---
#### **3. Go to the **Action** tab in your newly imported repo**
![Action Tab](https://docs.github.com/assets/images/help/repository/actions-tab.png)
---
#### **4. In the left sidebar, click the **Custom Build** workflow.**
![Workflow](https://docs.github.com/assets/images/help/repository/actions-select-workflow-2022.png)
---
#### **5. Above the list of workflow runs, select **Run workflow****
![Run Workflow](https://docs.github.com/assets/images/actions-workflow-dispatch.png)
---
#### **6. Select your desired options such as ***Magisk Version***, ***WSA Release Channel + WSA Archetecture*** , ***GApps Varient*** and ***Compression Format*** then click **Run workflow****
![Run Workflow](https://docs.github.com/assets/images/actions-manually-run-workflow.png)
---
#### **7. Wait for the action to complete and download the artifact**
**DO NOT download it via multithread downloaders like IDM**
![Download](https://docs.github.com/assets/images/help/repository/artifact-drop-down-updated.png)
#### **8. Install like normal using the instructions in this repository**
<br/>
### **Enjoy**
<br/>
---
</details>
<details>
<summary><h3> &nbsp; ❓Want to request a custom build❓ <h3></summary>
@ -277,7 +345,7 @@
### Moving WSA to another drive or partition:
[<img src="https://img.shields.io/badge/-How%20to%20Move%20WSA%20to%20another%20drive%20or%20partition-474154?style=for-the-badge&logoColor=white&logo=github" />](https://github.com/MustardChef/WSABuilds/blob/master/Guides/MoveToExtDrive.md)
### Installing KernalSU
### Installing KernelSU
[<img src="https://img.shields.io/badge/-How%20to%20install%20KernelSU-474154?style=for-the-badge&logoColor=white&logo=github" />](https://github.com/MustardChef/WSABuilds/blob/master/Guides/KernelSU.md)