Build S24U Spoofer Magisk Module #13
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build S24U Spoofer Magisk Module | |
on: | |
workflow_dispatch: | |
inputs: | |
samsung_version: | |
description: 'Samsung Version' | |
required: true | |
type: string | |
alldevices_version: | |
description: 'AllDevices Version' | |
required: true | |
type: string | |
samsung_changelog_head: | |
description: 'Samsung Changelog Header' | |
required: true | |
type: string | |
samsung_changelog_body: | |
description: 'Samsung Changelog Body' | |
required: true | |
type: string | |
alldevices_changelog_head: | |
description: 'AllDevices Changelog Header' | |
required: true | |
type: string | |
alldevices_changelog_body: | |
description: 'AllDevices Changelog Body' | |
required: true | |
type: string | |
jobs: | |
build: | |
name: Build S24U Spoofer Module | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout Samsung Branch | |
uses: actions/checkout@v4 | |
with: | |
ref: samsung | |
- name: Build Samsung Version | |
run: | | |
zip -r S24USpoofer-${{ github.event.inputs.samsung_version }}-SamsungOnly.zip . -x ".git*" -x ".github*" -x "README.md" | |
- name: Move Samsung File to Workspace | |
run: mv S24USpoofer-${{ github.event.inputs.samsung_version }}-SamsungOnly.zip /tmp/ | |
- name: Checkout AllDevices Branch | |
uses: actions/checkout@v4 | |
with: | |
ref: alldevices | |
- name: Build AllDevices Version | |
run: | | |
zip -r S24USpoofer-${{ github.event.inputs.alldevices_version }}-AllDevices.zip . -x ".git*" -x ".github*" -x "README.md" | |
- name: Move AllDevices File to Workspace | |
run: mv S24USpoofer-${{ github.event.inputs.alldevices_version }}-AllDevices.zip /tmp/ | |
- name: Move Files Back to Current Directory | |
run: | | |
mv /tmp/S24USpoofer-${{ github.event.inputs.samsung_version }}-SamsungOnly.zip . | |
mv /tmp/S24USpoofer-${{ github.event.inputs.alldevices_version }}-AllDevices.zip . | |
- name: Create a Git Tag | |
run: | | |
git config --global user.name "GitHub Actions" | |
git config --global user.email "[email protected]" | |
git tag ${{ github.event.inputs.samsung_version }}-${{ github.event.inputs.alldevices_version }} | |
git push origin ${{ github.event.inputs.samsung_version }}-${{ github.event.inputs.alldevices_version }} | |
- name: Upload Files | |
uses: actions/upload-artifact@v4 | |
with: | |
name: S24U-Spoofer | |
path: | | |
S24USpoofer-${{ github.event.inputs.samsung_version }}-SamsungOnly.zip | |
S24USpoofer-${{ github.event.inputs.alldevices_version }}-AllDevices.zip | |
- name: Create GitHub Release | |
uses: softprops/action-gh-release@v1 | |
with: | |
files: | | |
S24USpoofer-${{ github.event.inputs.samsung_version }}-SamsungOnly.zip | |
S24USpoofer-${{ github.event.inputs.alldevices_version }}-AllDevices.zip | |
tag_name: ${{ github.event.inputs.samsung_version }}-${{ github.event.inputs.alldevices_version }} | |
release_name: S24U Spoofer Module | |
body: | | |
# S24 Ultra Spoofer Magisk Module | |
🔹 **Samsung Version:** `${{ github.event.inputs.samsung_version }}` | |
🔹 **AllDevices Version:** `${{ github.event.inputs.alldevices_version }}` | |
${{ github.event.inputs.samsung_changelog_head }} | |
${{ github.event.inputs.samsung_changelog_body }} | |
${{ github.event.inputs.alldevices_changelog_head }} | |
${{ github.event.inputs.alldevices_changelog_body }} | |
## ⚠️ Notes | |
- If your device **is not a Samsung**, use the **AllDevices** version. | |
- Remove any previous modifications before installing to avoid conflicts. |