Fix CI artifacts page

This commit is contained in:
Louis Gesbert 2023-03-01 12:24:47 +01:00
parent 49c17ab574
commit d5c68bb9df

View File

@ -42,10 +42,14 @@ jobs:
workflow: ${{ github.event.workflow_run.workflow_id }}
name: Catala artifacts
path: artifacts/
- uses: awalsh128/cache-apt-pkgs-action@latest
with:
packages: tree
version: 1.0
- name: Generate HTML index
run: |
sudo apt update && apt install tree
cd artifacts && tree -H . --noreport --dirsfirst -T 'Catala latest development artifacts' -s -D --charset utf-8 -o index.html
cd artifacts
tree -H . --noreport --dirsfirst -T 'Catala latest development artifacts' -s -D --charset utf-8 -o index.html
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with: