Skip to content

Commit d06f87c

Browse files
fixing github action typo
1 parent 3b6f1d2 commit d06f87c

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

.github/workflows/flake-check.yaml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,17 @@ jobs:
3636
- id: calculated-hash
3737
name: Calculate vendor hash
3838
run: |
39-
echo "HASH=$(nix hash path vendor)" >> "$GITHUB_OUTPUT"
39+
hash=$(nix hash path vendor)
40+
echo "Calculated vendor hash: $hash"
41+
echo "HASH=$hash" >> "$GITHUB_OUTPUT"
4042
- id: current-hash
4143
name: Get the current vendor hash
4244
run: |
43-
echo "HASH=$(nix eval --file ./config.nix --raw --argstr lib '' 'exporter-cli.vendorHash' --raw)" >> "$GITHUB_OUTPUT"
45+
hash=$(nix eval --file ./config.nix --raw --argstr lib '' 'exporter-cli.vendorHash' --raw)
46+
echo "Configured vendor hash: $hash"
47+
echo "HASH=$hash" >> "$GITHUB_OUTPUT"
4448
- name: Comparing hashes
45-
if: ${{ steps.calculated-hash.output.HASH != steps.current-hash.output.HASH }}
49+
if: ${{ steps.calculated-hash.outputs.HASH != steps.current-hash.outputs.HASH }}
4650
run: |
47-
echo "::error file=config.nix,line=6,title=Invalid vendorHash::Update the vendor hash. Suggested value: ${{steps.calculated-hash.output.HASH}}"
51+
echo "::error file=config.nix,line=6,title=Invalid vendorHash::Update the vendor hash. Suggested value: ${{steps.calculated-hash.outputs.HASH}}"
4852
exit 1

0 commit comments

Comments
 (0)