From 91fa418b5065067a9ff7a95cf07c2bf7257f6236 Mon Sep 17 00:00:00 2001 From: Tom Forbes Date: Sun, 20 Oct 2024 21:25:55 +0100 Subject: [PATCH] Parquet urls only please --- .github/workflows/run.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/run.yml b/.github/workflows/run.yml index af667d29..78342abc 100644 --- a/.github/workflows/run.yml +++ b/.github/workflows/run.yml @@ -135,8 +135,9 @@ jobs: release_id: ${{ steps.create-release.outputs.id }}, }); const assets = response.data; + const urls = assets.filter(asset => asset.name.endsWith(".parquet")).map(asset => asset.browser_download_url) // Save the download links to a file - require('fs').writeFileSync('links/dataset.txt', assets.map(asset => asset.browser_download_url).join('\n')); + require('fs').writeFileSync('links/dataset.txt', urls.join('\n')); - uses: EndBug/add-and-commit@v9 with: