Skip to content

Check

Check #11

Workflow file for this run

name: Check
on:
workflow_dispatch:
inputs:
check-tag:
description: 'Download artifacts for a specific tag and check they run'
required: true
concurrency:
group: ${{ github.ref_name }}-${{ inputs.check-tag }}
cancel-in-progress: true
jobs:
check-ubuntu-latest:
runs-on: ubuntu-latest
env:
GH_TOKEN: ${{ github.token }}
steps:
- uses: actions/checkout@v4
- name: Check Lair Keystore
id: lair-keystore
run: |
./scripts/check-bin-linux.sh ${{ inputs.check-tag }} lair-keystore x86_64-linux
- name: Check Holochain
id: holochain
run: |
./scripts/check-bin-linux.sh ${{ inputs.check-tag }} holochain x86_64-linux
outputs:
lair-keystore: ${{ steps.lair-keystore.outputs.result }}
holochain: ${{ steps.holochain.outputs.result }}
check-ubuntu-24-04:
runs-on: ubuntu-24.04
env:
GH_TOKEN: ${{ github.token }}
steps:
- uses: actions/checkout@v4
- name: Check Lair Keystore
id: lair-keystore
run: |
./scripts/check-bin-linux.sh ${{ inputs.check-tag }} lair-keystore x86_64-linux
- name: Check Holochain
id: holochain
run: |
./scripts/check-bin-linux.sh ${{ inputs.check-tag }} holochain x86_64-linux
outputs:
lair-keystore: ${{ steps.lair-keystore.outputs.result }}
holochain: ${{ steps.holochain.outputs.result }}
collect-results:
runs-on: ubuntu-latest
needs: [check-ubuntu-latest, check-ubuntu-24-04]
steps:
- name: Collect results
run: |
echo "Values of `0` are good, otherwise something went wrong"
echo "On ubuntu-latest : lair-keystore-x86_64-linux : ${{ needs.check-ubuntu-latest.outputs.lair-keystore }}"
echo "On ubuntu-latest : holochain-x86_64-linux : ${{ needs.check-ubuntu-latest.outputs.holochain }}"
echo "On ubuntu-24.04 : lair-keystore-x86_64-linux : ${{ needs.check-ubuntu-24-04.outputs.lair-keystore }}"
echo "On ubuntu-24.04 : holochain-x86_64-linux : ${{ needs.check-ubuntu-24-04.outputs.holochain }}"