From 3d40693f1c24d9202752265cd1c8a82c2eacf8b9 Mon Sep 17 00:00:00 2001 From: Nick Sweeting Date: Sat, 24 Apr 2021 04:31:05 -0400 Subject: [PATCH] change version checking order --- .github/workflows/debian.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/debian.yml b/.github/workflows/debian.yml index 410d8f08..009c2b38 100644 --- a/.github/workflows/debian.yml +++ b/.github/workflows/debian.yml @@ -38,21 +38,17 @@ jobs: run: | cd deb_dist/ sudo apt-get install ./archivebox*.deb + cd .. python3 -c 'from distutils.core import run_setup; result = run_setup("./setup.py", stop_after="init"); print("\n".join(result.install_requires + result.extras_require["sonic"]))' > ./requirements.txt python3 -m pip install -r ./requirements.txt - archivebox --version - # sudo python3 -m pip install --upgrade --ignore-installed . - name: Check ArchiveBox version run: | # must create dir needed for snaps to run as non-root on github actions sudo mkdir -p /run/user/1001 && sudo chmod -R 777 /run/user/1001 mkdir "${{ github.workspace }}/data" && cd "${{ github.workspace }}/data" - archivebox init - archivebox config --set SAVE_READABILITY=False - archivebox config --set SAVE_MERCURY=False - archivebox config --set SAVE_SINGLEFILE=False archivebox --version + archivebox init --setup - name: Add some links to test run: |