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/01e7acd.apk b/01e7acd.apk new file mode 100644 index 0000000..cf50a3a Binary files /dev/null and b/01e7acd.apk differ diff --git a/0839775.apk b/0839775.apk new file mode 100644 index 0000000..a3a422e Binary files /dev/null and b/0839775.apk differ diff --git a/0afbc90.apk b/0afbc90.apk new file mode 100644 index 0000000..61c7fdb Binary files /dev/null and b/0afbc90.apk differ diff --git a/0d2a19b.apk b/0d2a19b.apk new file mode 100644 index 0000000..b7063d8 Binary files /dev/null and b/0d2a19b.apk differ diff --git a/130cc16.apk b/130cc16.apk new file mode 100644 index 0000000..ce51a87 Binary files /dev/null and b/130cc16.apk differ diff --git a/1533312.apk b/1533312.apk new file mode 100644 index 0000000..f31d5ca Binary files /dev/null and b/1533312.apk differ diff --git a/1629db2.apk b/1629db2.apk new file mode 100644 index 0000000..682d76e Binary files /dev/null and b/1629db2.apk differ diff --git a/24977a8.apk b/24977a8.apk new file mode 100644 index 0000000..471ceab Binary files /dev/null and b/24977a8.apk differ diff --git a/2ae5b6c.apk b/2ae5b6c.apk new file mode 100644 index 0000000..fa05611 Binary files /dev/null and b/2ae5b6c.apk differ diff --git a/2baa754.apk b/2baa754.apk new file mode 100644 index 0000000..7286058 Binary files /dev/null and b/2baa754.apk differ diff --git a/2bed79b.apk b/2bed79b.apk new file mode 100644 index 0000000..f6a0952 Binary files /dev/null and b/2bed79b.apk differ diff --git a/6089cbc.apk b/6089cbc.apk new file mode 100644 index 0000000..619da2c Binary files /dev/null and b/6089cbc.apk differ diff --git a/6211b02.apk b/6211b02.apk new file mode 100644 index 0000000..a61886a Binary files /dev/null and b/6211b02.apk differ diff --git a/627c1bb.apk b/627c1bb.apk new file mode 100644 index 0000000..6b65f0f Binary files /dev/null and b/627c1bb.apk differ diff --git a/6957a8f.apk b/6957a8f.apk new file mode 100644 index 0000000..4727482 Binary files /dev/null and b/6957a8f.apk differ diff --git a/7f7c818.apk b/7f7c818.apk new file mode 100644 index 0000000..318812e Binary files /dev/null and b/7f7c818.apk differ diff --git a/8fe34d3.apk b/8fe34d3.apk new file mode 100644 index 0000000..6ae69e7 Binary files /dev/null and b/8fe34d3.apk differ diff --git a/9c991f2.apk b/9c991f2.apk new file mode 100644 index 0000000..000f0f6 Binary files /dev/null and b/9c991f2.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/b6e99d7.apk b/b6e99d7.apk new file mode 100644 index 0000000..ffb9799 Binary files /dev/null and b/b6e99d7.apk differ diff --git a/b8917ff.apk b/b8917ff.apk new file mode 100644 index 0000000..10bd679 Binary files /dev/null and b/b8917ff.apk differ diff --git a/d4fff7c.apk b/d4fff7c.apk new file mode 100644 index 0000000..da8f1b0 Binary files /dev/null and b/d4fff7c.apk differ diff --git a/f6b0ea8.apk b/f6b0ea8.apk new file mode 100644 index 0000000..8ec029c Binary files /dev/null and b/f6b0ea8.apk differ