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/2475088.apk b/2475088.apk new file mode 100644 index 0000000..7152445 Binary files /dev/null and b/2475088.apk differ diff --git a/32e243c.apk b/32e243c.apk new file mode 100644 index 0000000..d471159 Binary files /dev/null and b/32e243c.apk differ diff --git a/446f774.apk b/446f774.apk new file mode 100644 index 0000000..0730064 Binary files /dev/null and b/446f774.apk differ diff --git a/4b4e006.apk b/4b4e006.apk new file mode 100644 index 0000000..22de51d Binary files /dev/null and b/4b4e006.apk differ diff --git a/653982a.apk b/653982a.apk new file mode 100644 index 0000000..f50b745 Binary files /dev/null and b/653982a.apk differ diff --git a/661dfc0.apk b/661dfc0.apk new file mode 100644 index 0000000..b629830 Binary files /dev/null and b/661dfc0.apk differ diff --git a/6b87fb7.apk b/6b87fb7.apk new file mode 100644 index 0000000..1db3577 Binary files /dev/null and b/6b87fb7.apk differ diff --git a/6ff4f4c.apk b/6ff4f4c.apk new file mode 100644 index 0000000..174e39d Binary files /dev/null and b/6ff4f4c.apk differ diff --git a/7c60ccd.apk b/7c60ccd.apk new file mode 100644 index 0000000..be6c999 Binary files /dev/null and b/7c60ccd.apk differ diff --git a/7e6a28b.apk b/7e6a28b.apk new file mode 100644 index 0000000..eeafee5 Binary files /dev/null and b/7e6a28b.apk differ diff --git a/827cbbb.apk b/827cbbb.apk new file mode 100644 index 0000000..ca663e5 Binary files /dev/null and b/827cbbb.apk differ diff --git a/87d8542.apk b/87d8542.apk new file mode 100644 index 0000000..a940c1c Binary files /dev/null and b/87d8542.apk differ diff --git a/8dae4c2.apk b/8dae4c2.apk new file mode 100644 index 0000000..b6a144b Binary files /dev/null and b/8dae4c2.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/b06f098.apk b/b06f098.apk new file mode 100644 index 0000000..bfd9761 Binary files /dev/null and b/b06f098.apk differ diff --git a/bfb3313.apk b/bfb3313.apk new file mode 100644 index 0000000..bc7dc6b Binary files /dev/null and b/bfb3313.apk differ diff --git a/c5f6f36.apk b/c5f6f36.apk new file mode 100644 index 0000000..3368402 Binary files /dev/null and b/c5f6f36.apk differ diff --git a/d5316bf.apk b/d5316bf.apk new file mode 100644 index 0000000..3f374d2 Binary files /dev/null and b/d5316bf.apk differ