File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments