Skip to content

Commit e273509

Browse files
authored
Remove Custom Build for forked users
1 parent 5cc9549 commit e273509

File tree

3 files changed

+3
-73
lines changed

3 files changed

+3
-73
lines changed

.github/workflows/custom_build.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Custom Build
1+
name: Custom Build (for testing purpose)
22
run-name: WSA ${{ inputs.release_type }} ${{ inputs.arch }} with ${{ inputs.root_sol }} and ${{ inputs.gapps_brand }} as ${{ inputs.custom_model }}
33
on:
44
workflow_dispatch:

docs/README.md

-70
Original file line numberDiff line numberDiff line change
@@ -32,76 +32,6 @@
3232

3333
#### **7. Install like normal using [the instructions](https://github.com/YT-Advanced/WSA-Script#--installation) in this repository** and most important of all....
3434

35-
---
36-
<summary><h3> &nbsp; The workflow didn't work ❓ Follow these step <h3></summary>
37-
38-
#### **1. Open 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)**
39-
***Step 1.1:***
40-
41-
<img src="https://user-images.githubusercontent.com/68516357/221636520-78d0716a-247b-4034-aa9d-bdbe2277950c.png" style="width: 350px;"/>
42-
43-
***Step 1.2:***
44-
45-
![](https://user-images.githubusercontent.com/68516357/221641202-e3ef4deb-f2dd-46e6-82c8-fb4767f82e99.png)
46-
47-
---
48-
#### **2. [Copy the URL of this Repo](https://github.com/YT-Advanced/WSA-Script) and paste it into the the text box below and press "Import"**
49-
50-
![](https://user-images.githubusercontent.com/68516357/221643582-72d71f68-8f53-48d9-a940-692a54d42098.png)
51-
52-
---
53-
#### **3. Go to the **Setting** tab in your newly imported repo and enable "Github Actions"**
54-
***Step 3.1:***
55-
56-
![](https://user-images.githubusercontent.com/68516357/222214308-b52b1c6f-a60b-44ef-9ce0-bc335087e3a2.png)
57-
58-
***Step 3.2:***
59-
60-
![](https://user-images.githubusercontent.com/68516357/222215598-30d68ad3-9700-4061-bba4-815b3befcb10.png)
61-
62-
---
63-
#### **4. Then, scroll down until you reach the section titled "Workflow Permission" and follow the steps as shown in the image below**
64-
![](https://user-images.githubusercontent.com/68516357/224546417-a82249b4-3864-42bd-8a29-32350b8b0c97.png)
65-
66-
---
67-
#### **5. Open [this link](https://github.com/settings/tokens/new) in new tab, then follow the step below. FINALLY, SCROLL DOWN AND CLICK GENERATE TOKEN**
68-
![](https://user-images.githubusercontent.com/70064328/231184720-0d3b4ce7-0b82-4b1f-b337-5f0fd0ceb632.png)
69-
70-
---
71-
#### **6. The key will appear. Then click the copy button at right side of the key.**
72-
![](https://user-images.githubusercontent.com/70064328/231189492-cf3b407e-708b-4224-ba4e-11f3e27012a1.png)
73-
74-
---
75-
#### **7. Now, back to your repository **Setting** tab, and open Secret and Variable, then click Action. Next click **New reporistory secret** button**
76-
![](https://user-images.githubusercontent.com/70064328/231191605-1e3c4b53-6d17-49f5-8e7f-c752ae12aee8.png)
77-
78-
---
79-
#### **8. In the name boxes, type PAT. Next, paste your copied Secret key to Secret boxes, then click **Add Secrets** button**
80-
![](https://user-images.githubusercontent.com/70064328/231192376-16aa194c-07ae-4262-857f-d9d86701a110.png)
81-
82-
---
83-
#### **9. Now, Go to the **Action** tab**
84-
![](https://user-images.githubusercontent.com/68516357/222221960-f48ab9c3-eb77-4cb0-b932-5cd343381048.png)
85-
86-
---
87-
#### **10. In the left sidebar, click the **Custom Build** workflow.**
88-
![](https://user-images.githubusercontent.com/68516357/222221307-8a4571d2-ac3e-410b-b999-0eb62b14d8d5.png)
89-
90-
---
91-
#### **11. Above the list of workflow runs, select **Run workflow****
92-
![](https://user-images.githubusercontent.com/68516357/222222850-f991890c-5a80-4cc2-b83d-0ef35c24a79e.png)
93-
94-
---
95-
#### **12. Select your desired options such as ***Magisk Version***, ***WSA Release Channel + WSA Archetecture*** , ***GApps Varient*** and ***Compression Format*** then click **Run workflow****
96-
![](https://user-images.githubusercontent.com/68516357/222224185-abcfa0cf-c8c6-46e3-bc38-871c968b86f2.png)
97-
98-
---
99-
#### **13. Wait for the action to complete and download the artifact**
100-
**DO NOT download it via multithread downloaders like IDM**
101-
![](https://user-images.githubusercontent.com/68516357/222224469-5748b78a-158e-46ff-9f65-317dbb519aac.png)
102-
103-
---
104-
#### **14. Install like normal using [the instructions](https://github.com/YT-Advanced/WSA-Script#--installation) in this repository** and most important of all....
10535
</details>
10636

10737
## Downloads

scripts/WSAUpdateChecker.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import base64
2-
import os
2+
from os import getenv
33
import html
44
import json
55
import re
@@ -30,7 +30,7 @@ def __repr__(self):
3030
return '\n'.join(f'{item}={self[item]}' for item in self)
3131

3232
logging.captureWarnings(True)
33-
env_file = os.getenv('GITHUB_ENV')
33+
env_file = getenv('GITHUB_ENV')
3434
token = getenv("API_KEY")
3535
authorization = f'Bearer {token}'
3636
reqheaders = {

0 commit comments

Comments
 (0)