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/0839775.apk b/0839775.apk new file mode 100644 index 0000000..a3a422e Binary files /dev/null and b/0839775.apk differ diff --git a/1901eb3.apk b/1901eb3.apk new file mode 100644 index 0000000..2b5edaa Binary files /dev/null and b/1901eb3.apk differ diff --git a/1a4cbca.apk b/1a4cbca.apk new file mode 100644 index 0000000..157503e Binary files /dev/null and b/1a4cbca.apk differ diff --git a/39ff6ef.apk b/39ff6ef.apk new file mode 100644 index 0000000..7862347 Binary files /dev/null and b/39ff6ef.apk differ diff --git a/4e28e5f.apk b/4e28e5f.apk new file mode 100644 index 0000000..47b43b7 Binary files /dev/null and b/4e28e5f.apk differ diff --git a/5570038.apk b/5570038.apk new file mode 100644 index 0000000..174be7e Binary files /dev/null and b/5570038.apk differ diff --git a/5bad6ac.apk b/5bad6ac.apk new file mode 100644 index 0000000..b549963 Binary files /dev/null and b/5bad6ac.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/7d3b8c4.apk b/7d3b8c4.apk new file mode 100644 index 0000000..05d3d1d Binary files /dev/null and b/7d3b8c4.apk differ diff --git a/823ffd8.apk b/823ffd8.apk new file mode 100644 index 0000000..d3a14a9 Binary files /dev/null and b/823ffd8.apk differ diff --git a/9a1358e.apk b/9a1358e.apk new file mode 100644 index 0000000..61341e0 Binary files /dev/null and b/9a1358e.apk differ diff --git a/9b4701f.apk b/9b4701f.apk new file mode 100644 index 0000000..3179524 Binary files /dev/null and b/9b4701f.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/a3009af.apk b/a3009af.apk new file mode 100644 index 0000000..5572094 Binary files /dev/null and b/a3009af.apk differ diff --git a/b38a9b1.apk b/b38a9b1.apk new file mode 100644 index 0000000..06bada8 Binary files /dev/null and b/b38a9b1.apk differ diff --git a/bac2ee9.apk b/bac2ee9.apk new file mode 100644 index 0000000..d777588 Binary files /dev/null and b/bac2ee9.apk differ diff --git a/ce1f489.apk b/ce1f489.apk new file mode 100644 index 0000000..4838908 Binary files /dev/null and b/ce1f489.apk differ diff --git a/d436171.apk b/d436171.apk new file mode 100644 index 0000000..0aa8d64 Binary files /dev/null and b/d436171.apk differ diff --git a/e2502de.apk b/e2502de.apk new file mode 100644 index 0000000..b7229a9 Binary files /dev/null and b/e2502de.apk differ diff --git a/f018200.apk b/f018200.apk new file mode 100644 index 0000000..52940ed Binary files /dev/null and b/f018200.apk differ