From c52c2ed618812ade21ba1445dc7b8583b716c430 Mon Sep 17 00:00:00 2001 From: ThetaSinner Date: Thu, 25 Jul 2024 19:09:52 +0100 Subject: [PATCH] Capture errors in both cases --- .github/workflows/check.yaml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/check.yaml b/.github/workflows/check.yaml index e1c8870..eddaa1e 100644 --- a/.github/workflows/check.yaml +++ b/.github/workflows/check.yaml @@ -25,8 +25,6 @@ jobs: run: | set -x gh release download ${{ inputs.check-tag }} --pattern 'lair-keystore-x86_64-linux' --repo holochain/holochain - ls -al - head lair-keystore-x86_64-linux chmod +x lair-keystore-x86_64-linux set +e ./lair-keystore-x86_64-linux --version @@ -43,13 +41,13 @@ jobs: steps: - name: Check Lair Keystore run: | + set -x gh release download ${{ inputs.check-tag }} --pattern 'lair-keystore-x86_64-linux' --repo holochain/holochain - ls -al chmod +x lair-keystore-x86_64-linux - set +x + set +e ./lair-keystore-x86_64-linux --version result=$? - set -x + set -e echo "ubuntu-latest:lair-keystore-x86_64-linux=$result" >> "$GITHUB_OUTPUT" outputs: lair-keystore: ${{ steps.lair-keystore.outputs.result }}