diff --git a/.github/clean.py b/.github/clean.py new file mode 100644 index 0000000..b9548a8 --- /dev/null +++ b/.github/clean.py @@ -0,0 +1,18 @@ +import requests +import glob +import os + +REPO = "recloudstream/cloudstream" +LIMIT = 30 +MARKERS = ['', ''] + +r = requests.get(f"https://api.github.com/repos/{REPO}/commits?per_page={LIMIT}") +commits = {} +for commit in r.json(): + short = commit['sha'][:7] + commits[short] = commit + +for apk in glob.glob("*.apk"): + sha, _ = apk.split(".") + if sha not in commits.keys(): + os.remove(apk) \ No newline at end of file diff --git a/.github/workflows/clean.yml b/.github/workflows/clean.yml new file mode 100644 index 0000000..8d469d4 --- /dev/null +++ b/.github/workflows/clean.yml @@ -0,0 +1,27 @@ +name: Clean archive + +on: + push: + branches: [ master ] + workflow_dispatch: + +concurrency: + group: "clean" + cancel-in-progress: true + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Run script + run: | + python3 .github/clean.py + + - name: Push archive + run: | + git config --local user.email "actions@github.com" + git config --local user.name "GitHub Actions" + git add . + git commit --amend -m "Build $GITHUB_SHA" || exit 0 # do not error if nothing to commit + git push --force \ No newline at end of file diff --git a/078de97.apk b/078de97.apk new file mode 100644 index 0000000..2030510 Binary files /dev/null and b/078de97.apk differ diff --git a/0d941c9.apk b/0d941c9.apk new file mode 100644 index 0000000..94b144f Binary files /dev/null and b/0d941c9.apk differ diff --git a/444a72d.apk b/444a72d.apk new file mode 100644 index 0000000..cb5c4cc Binary files /dev/null and b/444a72d.apk differ diff --git a/4961394.apk b/4961394.apk new file mode 100644 index 0000000..ace8571 Binary files /dev/null and b/4961394.apk differ diff --git a/52fa183.apk b/52fa183.apk new file mode 100644 index 0000000..cbd23aa Binary files /dev/null and b/52fa183.apk differ diff --git a/57a9202.apk b/57a9202.apk new file mode 100644 index 0000000..f622375 Binary files /dev/null and b/57a9202.apk differ diff --git a/6601291.apk b/6601291.apk new file mode 100644 index 0000000..e59b47d Binary files /dev/null and b/6601291.apk differ diff --git a/6664e6d.apk b/6664e6d.apk new file mode 100644 index 0000000..65a9639 Binary files /dev/null and b/6664e6d.apk differ diff --git a/6c2d4c3.apk b/6c2d4c3.apk new file mode 100644 index 0000000..f2084b1 Binary files /dev/null and b/6c2d4c3.apk differ diff --git a/79df626.apk b/79df626.apk new file mode 100644 index 0000000..c8571ec Binary files /dev/null and b/79df626.apk differ diff --git a/7bdf146.apk b/7bdf146.apk new file mode 100644 index 0000000..027224f Binary files /dev/null and b/7bdf146.apk differ diff --git a/87bd622.apk b/87bd622.apk new file mode 100644 index 0000000..c2caba0 Binary files /dev/null and b/87bd622.apk differ diff --git a/984daeb.apk b/984daeb.apk new file mode 100644 index 0000000..8e6f1b5 Binary files /dev/null and b/984daeb.apk differ diff --git a/9e55a19.apk b/9e55a19.apk new file mode 100644 index 0000000..4ad8e5c Binary files /dev/null and b/9e55a19.apk differ diff --git a/README.md b/README.md new file mode 100644 index 0000000..9060f57 --- /dev/null +++ b/README.md @@ -0,0 +1,4 @@ +# cloudstream-archive +Old versions of cloudstream + +⚠️ Please use the [latest version](https://github.com/recloudstream/cloudstream/releases) instead. ⚠️ \ No newline at end of file diff --git a/a53877a.apk b/a53877a.apk new file mode 100644 index 0000000..a2e1874 Binary files /dev/null and b/a53877a.apk differ diff --git a/b4c5ac2.apk b/b4c5ac2.apk new file mode 100644 index 0000000..aa10950 Binary files /dev/null and b/b4c5ac2.apk differ diff --git a/bd95ecf.apk b/bd95ecf.apk new file mode 100644 index 0000000..d44647f Binary files /dev/null and b/bd95ecf.apk differ diff --git a/bddd531.apk b/bddd531.apk new file mode 100644 index 0000000..4989cdb Binary files /dev/null and b/bddd531.apk differ diff --git a/cffc14a.apk b/cffc14a.apk new file mode 100644 index 0000000..502be47 Binary files /dev/null and b/cffc14a.apk differ diff --git a/d899ecb.apk b/d899ecb.apk new file mode 100644 index 0000000..9004ecb Binary files /dev/null and b/d899ecb.apk differ diff --git a/e6766f4.apk b/e6766f4.apk new file mode 100644 index 0000000..ec99b49 Binary files /dev/null and b/e6766f4.apk differ diff --git a/f3f4009.apk b/f3f4009.apk new file mode 100644 index 0000000..3f6781a Binary files /dev/null and b/f3f4009.apk differ diff --git a/f7594e5.apk b/f7594e5.apk new file mode 100644 index 0000000..3a4f967 Binary files /dev/null and b/f7594e5.apk differ