-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
34 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,8 +36,21 @@ jobs: | |
|
||
- name: Run | ||
run: | | ||
./target/optimized/data links/dataset.txt data/ --limit=5 | ||
./target/optimized/data links/dataset.txt data/ | ||
- name: Check | ||
run: | | ||
ls -la data/ | ||
- name: Fetch Latest Release | ||
id: get_release | ||
uses: gregziegan/[email protected] | ||
with: | ||
github_token: ${{ github.token }} | ||
|
||
- name: Upload Assets | ||
uses: shogo82148/actions-upload-release-asset@v1 | ||
with: | ||
upload_url: ${{ steps.get_release.outputs.upload_url }} | ||
asset_path: ${{ github.workspace }}/data/combined.parquet | ||
asset_name: unique_python_files.parquet |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
SELECT archive_path, hash, lines, project_name, project_version, size, uploaded_on | ||
FROM input_dataset | ||
where skip_reason = '' | ||
and archive_path ILIKE '%.py' and size != 0 | ||
order by project_name, project_version, archive_path; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters