Skip to content

README: Add new features #129

README: Add new features

README: Add new features #129

Workflow file for this run

name: Build Mod
on:
workflow_dispatch:
push:
branches:
- A14_1
jobs:
build:
if: github.event.repository.owner.id == github.event.sender.id
runs-on: ubuntu-20.04
permissions:
contents: write
actions: write
steps:
# You might want to Checkout your repo first, but not mandatory
- name: Check Out
uses: actions/checkout@v4
- name: Create A14_1 Zip Archive
run: |
git clone https://github.com/Aflaungos/M23-Hidden-Mods -b A14_1 A14_1HM
cd $GITHUB_WORKSPACE/A14_1HM
zip -r M23-Hidden_Mods_A14_1.zip . -x ".git*" -x ".github*" -x "MagiskMod.jpg" -x "LICENSE" -x "README.md"
- name: Upload to Release
uses: softprops/action-gh-release@v1
with:
files: |
A14_1HM/M23-Hidden_Mods_A14_1.zip
name: M23 Hidden Mods
tag_name: ${{ github.run_id }}
body: |
Device: Samsung Galaxy M23/F23 5G
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Delete workflow runs
uses: Mattraks/delete-workflow-runs@v2
with:
token: ${{ github.token }}
repository: ${{ github.repository }}
retain_days: 0
keep_minimum_runs: 0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Delete older releases
uses: dev-drprasad/[email protected]
with:
keep_latest: 1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}