Skip to content

Commit

Permalink
Capture errors in both cases
Browse files Browse the repository at this point in the history
  • Loading branch information
ThetaSinner committed Jul 25, 2024
1 parent 7fefc61 commit c52c2ed
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }}
Expand Down

0 comments on commit c52c2ed

Please sign in to comment.