From b01ce3589ca694d0ae72fb6f6294be458f206a62 Mon Sep 17 00:00:00 2001 From: Noah Prince Date: Thu, 6 Feb 2025 17:08:41 -0800 Subject: [PATCH] Fix idl buffer save --- .github/actions/buffer-deploy/action.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/buffer-deploy/action.yaml b/.github/actions/buffer-deploy/action.yaml index c163731..a7808d5 100644 --- a/.github/actions/buffer-deploy/action.yaml +++ b/.github/actions/buffer-deploy/action.yaml @@ -82,7 +82,7 @@ runs: id: buffer-deploy-store run: | echo "BUFFER=$(cat buffer.out | sed 's/Buffer: //g' | xargs echo -n)" >> $GITHUB_OUTPUT - echo "IDL_BUFFER=$(cat idl-buffer.out | sed 's/Idl buffer created: //g' | xargs echo -n)" >> $GITHUB_OUTPUT + echo "IDL_BUFFER=$(tail -n 1 idl-buffer.out | sed 's/Idl buffer created: //g' | xargs echo -n)" >> $GITHUB_OUTPUT - run: echo "The buffer is ${{ steps.buffer-deploy-store.outputs.BUFFER }}" shell: bash working-directory: solana-programs