-
Notifications
You must be signed in to change notification settings - Fork 314
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
44 additions
and
20 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 |
---|---|---|
|
@@ -149,26 +149,49 @@ jobs: | |
# | ||
|
||
|
||
- name: Get proof parameters | ||
uses: dawidd6/action-download-artifact@v6 | ||
#- name: Get proof parameters | ||
# uses: dawidd6/action-download-artifact@v6 | ||
# with: | ||
# workflow: proof-params.yml | ||
# path: /var/tmp/filecoin-proof-parameters/ | ||
# #merge-multiple: true | ||
# #github-token: ${{ github.token }} | ||
# #repository: ${{ github.action_repository }} | ||
# #run-id: ${{ github.event.workflow_run.id }} | ||
# #github-token: ${{ secrets.GITHUB_TOKEN }} | ||
# #github-token: ${{ github.token }} | ||
# #run-id: ${{ github.event.workflow_run.id }} | ||
#- name: Display structure of downloaded files | ||
# run: ls -lR /var/tmp/filecoin-proof-parameters/ | ||
#- name: Move all artifacts from sub directories into the main one | ||
# run: 'mv /var/tmp/filecoin-proof-parameters/*/* /var/tmp/filecoin-proof-parameters/' | ||
#- name: Remove sub directories | ||
# run: 'rmdir /var/tmp/filecoin-proof-parameters/* || true' | ||
#- name: Display structure of downloaded files | ||
# run: ls -lR /var/tmp/filecoin-proof-parameters/ | ||
|
||
|
||
- uses: octokit/[email protected] | ||
id: latest-proof-params | ||
with: | ||
workflow: proof-params.yml | ||
path: /var/tmp/filecoin-proof-parameters/ | ||
#merge-multiple: true | ||
#github-token: ${{ github.token }} | ||
#repository: ${{ github.action_repository }} | ||
#run-id: ${{ github.event.workflow_run.id }} | ||
#github-token: ${{ secrets.GITHUB_TOKEN }} | ||
#github-token: ${{ github.token }} | ||
#run-id: ${{ github.event.workflow_run.id }} | ||
- name: Display structure of downloaded files | ||
run: ls -lR /var/tmp/filecoin-proof-parameters/ | ||
- name: Move all artifacts from sub directories into the main one | ||
run: 'mv /var/tmp/filecoin-proof-parameters/*/* /var/tmp/filecoin-proof-parameters/' | ||
- name: Remove sub directories | ||
run: 'rmdir /var/tmp/filecoin-proof-parameters/* || true' | ||
- name: Display structure of downloaded files | ||
run: ls -lR /var/tmp/filecoin-proof-parameters/ | ||
route: GET /repos/{owner}/{repo}/rust-fil-proofs/actions/workflows/proof-params.yml/runs | ||
owner: filecoin-project | ||
repo: rust-fil-proofs | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
- run: "echo latest proof params: '${{ steps.latest-proof-params.outputs.data }}'" | ||
|
||
#- name: Download All Artifacts | ||
# uses: actions/download-artifact@v4 | ||
# with: | ||
# path: my-artifact | ||
# pattern: my-artifact-* | ||
# merge-multiple: true | ||
# #repository: ${{ github.action_repository }} | ||
# run-id: ${{ github.event.workflow_run.id }} | ||
# #github-token: ${{ secrets.GITHUB_TOKEN }} | ||
# #github-token: ${{ github.token }} | ||
|
||
|
||
|
||
#- name: Test in release profile | ||
|
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