Skip to content

Commit

Permalink
Parquet urls only please
Browse files Browse the repository at this point in the history
  • Loading branch information
orf committed Oct 20, 2024
1 parent 12ced11 commit 91fa418
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 91fa418

Please sign in to comment.