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/08b4802.apk b/08b4802.apk new file mode 100644 index 0000000..2e0985a Binary files /dev/null and b/08b4802.apk differ diff --git a/0b1399f.apk b/0b1399f.apk new file mode 100644 index 0000000..89b4636 Binary files /dev/null and b/0b1399f.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/15a27b4.apk b/15a27b4.apk new file mode 100644 index 0000000..327e673 Binary files /dev/null and b/15a27b4.apk differ diff --git a/217cf41.apk b/217cf41.apk new file mode 100644 index 0000000..f3fe622 Binary files /dev/null and b/217cf41.apk differ diff --git a/249d50e.apk b/249d50e.apk new file mode 100644 index 0000000..dc683b4 Binary files /dev/null and b/249d50e.apk differ diff --git a/3a657d7.apk b/3a657d7.apk new file mode 100644 index 0000000..d5ac2e6 Binary files /dev/null and b/3a657d7.apk differ diff --git a/3ece1ab.apk b/3ece1ab.apk new file mode 100644 index 0000000..97a4b6a Binary files /dev/null and b/3ece1ab.apk differ diff --git a/4cf0bc7.apk b/4cf0bc7.apk new file mode 100644 index 0000000..0df890a Binary files /dev/null and b/4cf0bc7.apk differ diff --git a/54f2213.apk b/54f2213.apk new file mode 100644 index 0000000..3b7d47c Binary files /dev/null and b/54f2213.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/620d006.apk b/620d006.apk new file mode 100644 index 0000000..13222fe Binary files /dev/null and b/620d006.apk differ diff --git a/62b3c69.apk b/62b3c69.apk new file mode 100644 index 0000000..4c6d09d Binary files /dev/null and b/62b3c69.apk differ diff --git a/7194391.apk b/7194391.apk new file mode 100644 index 0000000..18f069d Binary files /dev/null and b/7194391.apk differ diff --git a/76184e0.apk b/76184e0.apk new file mode 100644 index 0000000..60333d3 Binary files /dev/null and b/76184e0.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/83318b0.apk b/83318b0.apk new file mode 100644 index 0000000..915cd14 Binary files /dev/null and b/83318b0.apk differ diff --git a/9aa3b0e.apk b/9aa3b0e.apk new file mode 100644 index 0000000..5143369 Binary files /dev/null and b/9aa3b0e.apk differ diff --git a/9d0d76d.apk b/9d0d76d.apk new file mode 100644 index 0000000..5f9fb54 Binary files /dev/null and b/9d0d76d.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/bd95ecf.apk b/bd95ecf.apk new file mode 100644 index 0000000..d44647f Binary files /dev/null and b/bd95ecf.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/d870978.apk b/d870978.apk new file mode 100644 index 0000000..2437185 Binary files /dev/null and b/d870978.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/e43fc24.apk b/e43fc24.apk new file mode 100644 index 0000000..ce8932d Binary files /dev/null and b/e43fc24.apk differ diff --git a/f30319f.apk b/f30319f.apk new file mode 100644 index 0000000..e760b31 Binary files /dev/null and b/f30319f.apk differ diff --git a/f4fd303.apk b/f4fd303.apk new file mode 100644 index 0000000..c3877bd Binary files /dev/null and b/f4fd303.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 diff --git a/f9b5a8a.apk b/f9b5a8a.apk new file mode 100644 index 0000000..09559c3 Binary files /dev/null and b/f9b5a8a.apk differ