Fix workflow
Some checks failed
/ build (push) Has been cancelled
/ check-changes (push) Has been cancelled

This commit is contained in:
Djuri Baars 2024-12-26 15:45:12 +01:00
parent 236a2bb4ae
commit 20fba40782

View file

@ -80,7 +80,6 @@ jobs:
run: echo "blockHeight=$(curl -s https://mempool.space/api/blocks/tip/height)" >> $GITHUB_OUTPUT
- name: Write block height to file
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
env:
BLOCK_HEIGHT: ${{ steps.getBlockHeight.outputs.blockHeight }}
run: mkdir -p output && echo "$BLOCK_HEIGHT" > output/version.txt