Skip to content

Commit 90b222a

Browse files
committed
fix flow
1 parent 7411181 commit 90b222a

File tree

1 file changed

+21
-21
lines changed

1 file changed

+21
-21
lines changed

.github/workflows/release.yml

+21-21
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
push:
55
tags:
66
- "*-fire"
7-
workflow_dispatch: {}
7+
workflow_dispatch: { }
88

99
env:
1010
REGISTRY: ghcr.io
@@ -39,27 +39,27 @@ jobs:
3939
4040
- name: Download All Artifacts
4141
id: download-artifacts
42-
uses: actions/download-artifact@v2
42+
uses: actions/download-artifact@v4
4343

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"
6363

6464
- name: Log in to the Container registry
6565
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9

0 commit comments

Comments
 (0)