mirror of
https://github.com/Nezumi-2711/winrar-keygen.git
synced 2026-09-23 04:19:51 +00:00
⭐ Secrets is recommended
Secrets is recommended.
This commit is contained in:
@@ -40,16 +40,17 @@ See [here](README.HOW_DOES_IT_WORK.md).
|
||||
|
||||
There are several ways to use it 🧐:
|
||||
|
||||
- [Use Github Actions with Push](#4-Use-Github-Actions-with-Push)
|
||||
- [Use Github Actions with Secrets](#5-Use-Github-Actions-with-Secrets)
|
||||
- [Use Github Actions with Secrets](#4-Use-Github-Actions-with-Secrets) *(⭐ Recommend)*
|
||||
- [Use Github Actions with Push](#5-Use-Github-Actions-with-Push)
|
||||
- [Build in Visual Studio](#6-Build-in-Visual-Studio)
|
||||
|
||||
## 4. Use Github Actions with Push
|
||||
## 4. Use Github Actions with Secrets
|
||||
|
||||
<details>
|
||||
<summary>Click to expand</summary>
|
||||
|
||||
Github Action is a CI/CD tool introduced after Microsoft acquired Github, and you can run programs on GitHub Action by following these steps.
|
||||
|
||||
Use [Secrets](https://docs.github.com/en/actions/security-guides/encrypted-secrets) you don't need to commits to the repository, so you can fetch upstream without conflicts. So I recommend using this method.
|
||||
|
||||
### 4.1 Fork
|
||||
|
||||
@@ -59,11 +60,61 @@ Github Action is a CI/CD tool introduced after Microsoft acquired Github, and yo
|
||||
|
||||

|
||||
|
||||
### 4.2 Creating Secrets
|
||||
|
||||
Open your forked repository, and go to **Settings > Secrets > Actions > New repository secret**.
|
||||
|
||||

|
||||
|
||||

|
||||
|
||||
Create two Secrets named `text1` and `text2` and fill in values.
|
||||
|
||||

|
||||
|
||||

|
||||
|
||||
Once created, you will see:
|
||||
|
||||

|
||||
|
||||

|
||||
|
||||
### 4.3 Run Workflow
|
||||
|
||||
Go to **Actions** and select **WinRAR Keygen Secrets** to run Workflow manually.
|
||||
|
||||

|
||||
|
||||

|
||||
|
||||
After running successfully, open the corresponding task and select **rarreg_file** to download.
|
||||
|
||||

|
||||
|
||||

|
||||
|
||||
</details>
|
||||
|
||||
## 5. Use Github Actions with Push
|
||||
|
||||
<details>
|
||||
<summary>Click to expand</summary>
|
||||
Using push for key generation is very simple and convenient, but when there are updates to fetch upstream, you need to manually merge conflicts. So I would recommend [use Github Actions with Secrets](#4-Use-Github-Actions-with-Secrets), but you can still use the push action.
|
||||
|
||||
### 5.1 Fork
|
||||
|
||||
**Fork** this repo.
|
||||
|
||||

|
||||
|
||||

|
||||
|
||||
If you've forked before and I've committed new code, but you don't know how to merge the new content into your repository, then you can delete the current fork and fork again.
|
||||
|
||||
### 4.2 Modify info.json
|
||||
### 5.2 Modify info.json
|
||||
|
||||
Go to `keygen/info.json` and click on the edit button to edit the file.
|
||||
Open your forked repository, and go to `keygen/info.json` and click on the edit button to edit the file.
|
||||
|
||||

|
||||
|
||||
@@ -93,7 +144,7 @@ Once you have finished making changes, click the **Commit changes** button and G
|
||||
|
||||
If Github Actions does not start automatically, you will need to click on the Actions page to **allow this workflows to run**, then modify and commit `keygen/info.json` again.
|
||||
|
||||
### 4.3 Download Key
|
||||
### 5.3 Download Key
|
||||
|
||||
Go to **Actions** and select **WinRAR Keygen** to see the status of the program.
|
||||
|
||||
@@ -113,57 +164,6 @@ If you get an invalid key, please check [the specific solution](#7-invalid-key).
|
||||
|
||||
</details>
|
||||
|
||||
## 5. Use Github Actions with Secrets
|
||||
|
||||
<details>
|
||||
<summary>Click to expand</summary>
|
||||
|
||||
In order to make Merge and Pull easier for everyone, a new method for using Github Actions through [Secrets](https://docs.github.com/en/actions/security-guides/encrypted-secrets) has been added:
|
||||
|
||||
### 5.1 Fork
|
||||
|
||||
**Fork** this repo.
|
||||
|
||||

|
||||
|
||||

|
||||
|
||||
### 5.2 Creating Secrets
|
||||
|
||||
Go to **Settings > Secrets > Actions > New repository secret**:
|
||||
|
||||

|
||||
|
||||

|
||||
|
||||
Create two Secrets named `text1` and `text2` and fill in values:
|
||||
|
||||

|
||||
|
||||

|
||||
|
||||
Once created, you will see:
|
||||
|
||||

|
||||
|
||||

|
||||
|
||||
### 5.3 Run Workflow
|
||||
|
||||
Go to **Actions** and select **WinRAR Keygen Secrets** to run Workflow manually:
|
||||
|
||||

|
||||
|
||||

|
||||
|
||||
After running successfully, open the corresponding task and select **rarreg_file** to download.
|
||||
|
||||

|
||||
|
||||

|
||||
|
||||
</details>
|
||||
|
||||
## 6. Build in Visual Studio
|
||||
|
||||
<details>
|
||||
|
||||
Reference in New Issue
Block a user