diff --git a/.github/workflows/vdr-creation.yml b/.github/workflows/vdr-creation.yml index 20f56e5..c3cd674 100644 --- a/.github/workflows/vdr-creation.yml +++ b/.github/workflows/vdr-creation.yml @@ -33,8 +33,13 @@ jobs: mkdir -p data python3 ojvg_download.py python3 ojvg_convert.py - - name: Upload data directory + - name: Upload data directory (for debugging/introspection) uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 #v4.3.3 with: name: data directory path: data + - name: Upload final vdr + uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 #v4.3.3 + with: + name: data directory + path: data/vdr.json diff --git a/ojvg_download.py b/ojvg_download.py index 4eeea3d..e9d5bce 100644 --- a/ojvg_download.py +++ b/ojvg_download.py @@ -7,8 +7,7 @@ It downloads all the vulnerability reports as html files to the `data` directory and saves the relevant data in `data/ojvg_summary.json` """ start_date = date(2019, 1, 1) -end_date = date(2019, 12, 31) -#end_date = date.today() +end_date = date.today() current_date = start_date responses = [] while current_date < end_date: