|
4 | 4 | push:
|
5 | 5 | tags:
|
6 | 6 | - "*-fire"
|
7 |
| - workflow_dispatch: {} |
| 7 | + workflow_dispatch: { } |
8 | 8 |
|
9 | 9 | env:
|
10 | 10 | REGISTRY: ghcr.io
|
@@ -39,27 +39,27 @@ jobs:
|
39 | 39 |
|
40 | 40 | - name: Download All Artifacts
|
41 | 41 | id: download-artifacts
|
42 |
| - uses: actions/download-artifact@v2 |
| 42 | + uses: actions/download-artifact@v4 |
43 | 43 |
|
44 |
| -# - name: Sanitize Downloaded Files |
45 |
| -# run: | |
46 |
| -# # We downloaded all the artifacts previously uploaded and we put them in |
47 |
| -# # the 'binaries' folder. In this folder, the layout is: |
48 |
| -# # |
49 |
| -# # binaries |
50 |
| -# # ├── linux-arm64-unknown-linux-gnu |
51 |
| -# # │ └── near-firehose-indexer |
52 |
| -# # └── linux-x86_64-unknown-linux-gnu |
53 |
| -# # └── near-firehose-indexer |
54 |
| -# # |
55 |
| -# # The sub-folder name comes from the 'name' field of the 'actions/upload-artifact@v2' |
56 |
| -# # step. The 'near-firehose-indexer' file name is the filename of the uploaded 'path' field, |
57 |
| -# # we used './target/release/near-firehose-indexer' in the upload step so the file name here |
58 |
| -# # is 'near-firehose-indexer'. |
59 |
| -# |
60 |
| -# download_path="${{steps.download-artifacts.outputs.download-path}}" |
61 |
| -# chmod +x "${download_path}/linux-x86_64-unknown-linux-gnu/near-firehose-indexer" |
62 |
| -# mv "$download_path/linux-x86_64-unknown-linux-gnu/near-firehose-indexer" "$download_path/near-firehose-indexer-x86_64-unknown-linux-gnu" |
| 44 | + # - name: Sanitize Downloaded Files |
| 45 | + # run: | |
| 46 | + # # We downloaded all the artifacts previously uploaded and we put them in |
| 47 | + # # the 'binaries' folder. In this folder, the layout is: |
| 48 | + # # |
| 49 | + # # binaries |
| 50 | + # # ├── linux-arm64-unknown-linux-gnu |
| 51 | + # # │ └── near-firehose-indexer |
| 52 | + # # └── linux-x86_64-unknown-linux-gnu |
| 53 | + # # └── near-firehose-indexer |
| 54 | + # # |
| 55 | + # # The sub-folder name comes from the 'name' field of the 'actions/upload-artifact@v2' |
| 56 | + # # step. The 'near-firehose-indexer' file name is the filename of the uploaded 'path' field, |
| 57 | + # # we used './target/release/near-firehose-indexer' in the upload step so the file name here |
| 58 | + # # is 'near-firehose-indexer'. |
| 59 | + # |
| 60 | + # download_path="${{steps.download-artifacts.outputs.download-path}}" |
| 61 | + # chmod +x "${download_path}/linux-x86_64-unknown-linux-gnu/near-firehose-indexer" |
| 62 | + # mv "$download_path/linux-x86_64-unknown-linux-gnu/near-firehose-indexer" "$download_path/near-firehose-indexer-x86_64-unknown-linux-gnu" |
63 | 63 |
|
64 | 64 | - name: Log in to the Container registry
|
65 | 65 | uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
|
|
0 commit comments