-
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
2 changed files
with
39 additions
and
35 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 |
---|---|---|
|
@@ -66,36 +66,36 @@ jobs: | |
- name: Combine | ||
run: | | ||
poetry run pypi-data run-sql ${{ github.workspace }}/sql/unique_python_files_combine.prql --output=parquet --memory=3 --threads=2 unique-python-files.parquet combined/*.parquet | ||
poetry run pypi-data run-sql ${{ github.workspace }}/sql/unique_python_files_combine.prql --per-thread-output --output=parquet --memory=3 --threads=2 unique-python-files.parquet combined/*.parquet | ||
- name: List | ||
run: ls combined/ | ||
|
||
- name: Gets latest created release info | ||
id: latest_release_info | ||
uses: jossef/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ github.token }} | ||
|
||
- name: Upload Assets | ||
id: upload | ||
uses: shogo82148/actions-upload-release-asset@v1 | ||
with: | ||
upload_url: ${{ steps.latest_release_info.outputs.upload_url }} | ||
asset_name: unique-python-files.parquet | ||
asset_path: unique-python-files.parquet | ||
overwrite: true | ||
|
||
- name: Create download links | ||
run: | | ||
echo "${{ steps.upload.outputs.browser_download_url }}" > links/unique_python_files.txt | ||
- uses: EndBug/add-and-commit@v9 | ||
with: | ||
add: 'links/unique_python_files.txt' | ||
author_email: "41898282+github-actions[bot]@users.noreply.github.com" | ||
author_name: "commit-bot" | ||
message: "Add only python links for asset ${{ needs.generate-matrix.outputs.release_id }}" | ||
push: true | ||
fetch: true | ||
pull: '--rebase --autostash' | ||
# | ||
# - name: Gets latest created release info | ||
# id: latest_release_info | ||
# uses: jossef/[email protected] | ||
# env: | ||
# GITHUB_TOKEN: ${{ github.token }} | ||
# | ||
# - name: Upload Assets | ||
# id: upload | ||
# uses: shogo82148/actions-upload-release-asset@v1 | ||
# with: | ||
# upload_url: ${{ steps.latest_release_info.outputs.upload_url }} | ||
# asset_name: unique-python-files.parquet | ||
# asset_path: unique-python-files.parquet | ||
# overwrite: true | ||
# | ||
# - name: Create download links | ||
# run: | | ||
# echo "${{ steps.upload.outputs.browser_download_url }}" > links/unique_python_files.txt | ||
# | ||
# - uses: EndBug/add-and-commit@v9 | ||
# with: | ||
# add: 'links/unique_python_files.txt' | ||
# author_email: "41898282+github-actions[bot]@users.noreply.github.com" | ||
# author_name: "commit-bot" | ||
# message: "Add only python links for asset ${{ needs.generate-matrix.outputs.release_id }}" | ||
# push: true | ||
# fetch: true | ||
# pull: '--rebase --autostash' |
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