mirror of
https://github.com/ArchiveBox/ArchiveBox
synced 2024-11-10 06:34:16 +00:00
change version checking order
This commit is contained in:
parent
3e7d8e5264
commit
3d40693f1c
1 changed files with 2 additions and 6 deletions
8
.github/workflows/debian.yml
vendored
8
.github/workflows/debian.yml
vendored
|
@ -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: |
|
||||
|
|
Loading…
Reference in a new issue