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/004c481.apk b/004c481.apk new file mode 100644 index 0000000..225bc88 Binary files /dev/null and b/004c481.apk differ diff --git a/0744189.apk b/0744189.apk new file mode 100644 index 0000000..789c993 Binary files /dev/null and b/0744189.apk differ diff --git a/0a5399d.apk b/0a5399d.apk new file mode 100644 index 0000000..01381c0 Binary files /dev/null and b/0a5399d.apk differ diff --git a/138e1a1.apk b/138e1a1.apk new file mode 100644 index 0000000..08d1312 Binary files /dev/null and b/138e1a1.apk differ diff --git a/4399a61.apk b/4399a61.apk new file mode 100644 index 0000000..42b25ec Binary files /dev/null and b/4399a61.apk differ diff --git a/469a712.apk b/469a712.apk new file mode 100644 index 0000000..a5288df Binary files /dev/null and b/469a712.apk differ diff --git a/4d5cd28.apk b/4d5cd28.apk new file mode 100644 index 0000000..aa876e1 Binary files /dev/null and b/4d5cd28.apk differ diff --git a/5db541d.apk b/5db541d.apk new file mode 100644 index 0000000..b0762b9 Binary files /dev/null and b/5db541d.apk differ diff --git a/6cef9f7.apk b/6cef9f7.apk new file mode 100644 index 0000000..1502a18 Binary files /dev/null and b/6cef9f7.apk differ diff --git a/6df3ef1.apk b/6df3ef1.apk new file mode 100644 index 0000000..96880ae Binary files /dev/null and b/6df3ef1.apk differ diff --git a/71bd48f.apk b/71bd48f.apk new file mode 100644 index 0000000..1424538 Binary files /dev/null and b/71bd48f.apk differ diff --git a/949b583.apk b/949b583.apk new file mode 100644 index 0000000..5cdba35 Binary files /dev/null and b/949b583.apk differ diff --git a/9a18ef6.apk b/9a18ef6.apk new file mode 100644 index 0000000..cc6e96c Binary files /dev/null and b/9a18ef6.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/aa89728.apk b/aa89728.apk new file mode 100644 index 0000000..1b00011 Binary files /dev/null and b/aa89728.apk differ diff --git a/afdc498.apk b/afdc498.apk new file mode 100644 index 0000000..ba924aa Binary files /dev/null and b/afdc498.apk differ diff --git a/d3828ee.apk b/d3828ee.apk new file mode 100644 index 0000000..c1a4204 Binary files /dev/null and b/d3828ee.apk differ diff --git a/e2946ca.apk b/e2946ca.apk new file mode 100644 index 0000000..8670482 Binary files /dev/null and b/e2946ca.apk differ diff --git a/e6b9d62.apk b/e6b9d62.apk new file mode 100644 index 0000000..4127ea6 Binary files /dev/null and b/e6b9d62.apk differ diff --git a/ee4d1de.apk b/ee4d1de.apk new file mode 100644 index 0000000..d4f35d3 Binary files /dev/null and b/ee4d1de.apk differ diff --git a/f1cc4db.apk b/f1cc4db.apk new file mode 100644 index 0000000..9a7476f Binary files /dev/null and b/f1cc4db.apk differ diff --git a/ff1ffbe.apk b/ff1ffbe.apk new file mode 100644 index 0000000..760ea1f Binary files /dev/null and b/ff1ffbe.apk differ diff --git a/ffa7b02.apk b/ffa7b02.apk new file mode 100644 index 0000000..a517e21 Binary files /dev/null and b/ffa7b02.apk differ