We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 26dc51d commit 547bc4dCopy full SHA for 547bc4d
1 file changed
.github/actions/setup/action.yml
@@ -78,6 +78,7 @@ runs:
78
79
- name: Cache Photon indexer
80
if: inputs.photon-indexer == 'true'
81
+ id: cache-photon
82
uses: actions/cache@v4
83
with:
84
path: ~/.cargo/bin/photon
@@ -137,7 +138,7 @@ runs:
137
138
run: npm install -g snarkjs
139
140
- name: Install Photon indexer
- if: inputs.photon-indexer == 'true'
141
+ if: inputs.photon-indexer == 'true' && steps.cache-photon.outputs.cache-hit != 'true'
142
shell: bash
143
env:
144
RUSTFLAGS: "-A dead-code"
0 commit comments