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/02b9569.apk b/02b9569.apk new file mode 100644 index 0000000..560c8a4 Binary files /dev/null and b/02b9569.apk differ diff --git a/03b8b6e.apk b/03b8b6e.apk new file mode 100644 index 0000000..ae3f7bd Binary files /dev/null and b/03b8b6e.apk differ diff --git a/04dda00.apk b/04dda00.apk new file mode 100644 index 0000000..4eafd77 Binary files /dev/null and b/04dda00.apk differ diff --git a/073af50.apk b/073af50.apk new file mode 100644 index 0000000..da8440c Binary files /dev/null and b/073af50.apk differ diff --git a/0aa48f3.apk b/0aa48f3.apk new file mode 100644 index 0000000..ed944b8 Binary files /dev/null and b/0aa48f3.apk differ diff --git a/0c418fd.apk b/0c418fd.apk new file mode 100644 index 0000000..48a95ab Binary files /dev/null and b/0c418fd.apk differ diff --git a/12de924.apk b/12de924.apk new file mode 100644 index 0000000..36725f5 Binary files /dev/null and b/12de924.apk differ diff --git a/145c42f.apk b/145c42f.apk new file mode 100644 index 0000000..d99ef74 Binary files /dev/null and b/145c42f.apk differ diff --git a/29ec554.apk b/29ec554.apk new file mode 100644 index 0000000..0a15ebc Binary files /dev/null and b/29ec554.apk differ diff --git a/2fc279f.apk b/2fc279f.apk new file mode 100644 index 0000000..e8edfae Binary files /dev/null and b/2fc279f.apk differ diff --git a/4c7379c.apk b/4c7379c.apk new file mode 100644 index 0000000..4b28cea Binary files /dev/null and b/4c7379c.apk differ diff --git a/5f64e40.apk b/5f64e40.apk new file mode 100644 index 0000000..3d5ea6f Binary files /dev/null and b/5f64e40.apk differ diff --git a/627dd45.apk b/627dd45.apk new file mode 100644 index 0000000..2753151 Binary files /dev/null and b/627dd45.apk differ diff --git a/8be8e54.apk b/8be8e54.apk new file mode 100644 index 0000000..c498d6b Binary files /dev/null and b/8be8e54.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/a157115.apk b/a157115.apk new file mode 100644 index 0000000..55fa2f0 Binary files /dev/null and b/a157115.apk differ diff --git a/a28ee41.apk b/a28ee41.apk new file mode 100644 index 0000000..3d07c0a Binary files /dev/null and b/a28ee41.apk differ diff --git a/b2f0884.apk b/b2f0884.apk new file mode 100644 index 0000000..ad08072 Binary files /dev/null and b/b2f0884.apk differ diff --git a/bb8144a.apk b/bb8144a.apk new file mode 100644 index 0000000..2c8f3f9 Binary files /dev/null and b/bb8144a.apk differ diff --git a/c1b5f5c.apk b/c1b5f5c.apk new file mode 100644 index 0000000..e2a6b83 Binary files /dev/null and b/c1b5f5c.apk differ diff --git a/c8a863e.apk b/c8a863e.apk new file mode 100644 index 0000000..3d7db82 Binary files /dev/null and b/c8a863e.apk differ diff --git a/e1d4a46.apk b/e1d4a46.apk new file mode 100644 index 0000000..b698c65 Binary files /dev/null and b/e1d4a46.apk differ diff --git a/e5c9e96.apk b/e5c9e96.apk new file mode 100644 index 0000000..eda57c2 Binary files /dev/null and b/e5c9e96.apk differ diff --git a/e86c926.apk b/e86c926.apk new file mode 100644 index 0000000..e265584 Binary files /dev/null and b/e86c926.apk differ