Skip to content

Commit

Permalink
fix flow
Browse files Browse the repository at this point in the history
  • Loading branch information
colindickson committed Sep 16, 2024
1 parent 7411181 commit 90b222a
Showing 1 changed file with 21 additions and 21 deletions.
42 changes: 21 additions & 21 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
push:
tags:
- "*-fire"
workflow_dispatch: {}
workflow_dispatch: { }

env:
REGISTRY: ghcr.io
Expand Down Expand Up @@ -39,27 +39,27 @@ jobs:
- name: Download All Artifacts
id: download-artifacts
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4

# - name: Sanitize Downloaded Files
# run: |
# # We downloaded all the artifacts previously uploaded and we put them in
# # the 'binaries' folder. In this folder, the layout is:
# #
# # binaries
# # ├── linux-arm64-unknown-linux-gnu
# # │ └── near-firehose-indexer
# # └── linux-x86_64-unknown-linux-gnu
# # └── near-firehose-indexer
# #
# # The sub-folder name comes from the 'name' field of the 'actions/upload-artifact@v2'
# # step. The 'near-firehose-indexer' file name is the filename of the uploaded 'path' field,
# # we used './target/release/near-firehose-indexer' in the upload step so the file name here
# # is 'near-firehose-indexer'.
#
# download_path="${{steps.download-artifacts.outputs.download-path}}"
# chmod +x "${download_path}/linux-x86_64-unknown-linux-gnu/near-firehose-indexer"
# mv "$download_path/linux-x86_64-unknown-linux-gnu/near-firehose-indexer" "$download_path/near-firehose-indexer-x86_64-unknown-linux-gnu"
# - name: Sanitize Downloaded Files
# run: |
# # We downloaded all the artifacts previously uploaded and we put them in
# # the 'binaries' folder. In this folder, the layout is:
# #
# # binaries
# # ├── linux-arm64-unknown-linux-gnu
# # │ └── near-firehose-indexer
# # └── linux-x86_64-unknown-linux-gnu
# # └── near-firehose-indexer
# #
# # The sub-folder name comes from the 'name' field of the 'actions/upload-artifact@v2'
# # step. The 'near-firehose-indexer' file name is the filename of the uploaded 'path' field,
# # we used './target/release/near-firehose-indexer' in the upload step so the file name here
# # is 'near-firehose-indexer'.
#
# download_path="${{steps.download-artifacts.outputs.download-path}}"
# chmod +x "${download_path}/linux-x86_64-unknown-linux-gnu/near-firehose-indexer"
# mv "$download_path/linux-x86_64-unknown-linux-gnu/near-firehose-indexer" "$download_path/near-firehose-indexer-x86_64-unknown-linux-gnu"

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

0 comments on commit 90b222a

Please sign in to comment.