diff --git a/.github/workflows/manual.yml b/.github/workflows/manual.yml index 4b025f14c..7e13fb8f7 100755 --- a/.github/workflows/manual.yml +++ b/.github/workflows/manual.yml @@ -10,8 +10,7 @@ jobs: - name: run commands run: | - sudo apt install p7zip-full -y - 7z x ./everything-repo.zip + python3 pyunzip.py ./everything-repo.zip - name: add & commit uses: EndBug/add-and-commit@main diff --git a/pyunzip.py b/pyunzip.py new file mode 100755 index 000000000..7d883106a --- /dev/null +++ b/pyunzip.py @@ -0,0 +1,7 @@ +#!/usr/bin/env python3 + +import sys +from zipfile import PyZipFile +for zip_file in sys.argv[1:]: + pzf = PyZipFile(zip_file) + pzf.extractall() \ No newline at end of file