Skip to content

Commit

Permalink
fix after review
Browse files Browse the repository at this point in the history
  • Loading branch information
dlachaume committed Feb 23, 2024
1 parent ac05a66 commit 151a364
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions .github/workflows/test-client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,25 +69,24 @@ jobs:
echo "NETWORK=${{ inputs.network }}" >> $GITHUB_ENV
echo "AGGREGATOR_ENDPOINT=${{ inputs.aggregator_endpoint }}" >> $GITHUB_ENV
echo "GENESIS_VERIFICATION_KEY=$(curl -s ${{ inputs.genesis_verification_key }})" >> $GITHUB_ENV
echo "TRANSACTIONS_HASHES_TO_CERTIFY=${{ inputs.transactions_hashes_to_certify }}" >> $GITHUB_ENV
- name: Prepare environment variable for Cardano transactions aggregator capability (ubuntu-22.04, macos-12)
- name: Assessing aggregator capabilities (Unix)
id: aggregator_capability_unix
if: matrix.os == 'ubuntu-22.04' || matrix.os == 'macos-12'
if: runner.os != 'Windows'
shell: bash
run: |
CTX_CAPABILITY=$(wget -q -O - $AGGREGATOR_ENDPOINT | jq '.capabilities.signed_entity_types | contains(["CardanoTransactions"])')
echo "ctx_enabled=$(echo $CTX_CAPABILITY | cut -c1-7)" >> $GITHUB_OUTPUT
echo "ctx_enabled=$CTX_CAPABILITY" >> $GITHUB_OUTPUT
- name: Prepare environment variable for Cardano transactions aggregator capability (windows-latest)
- name: Assessing aggregator capabilities (Windows)
id: aggregator_capability_windows
if: matrix.os == 'windows-latest'
if: runner.os == 'Windows'
shell: bash
run: |
aria2c -o aggregator_capabilities.json $AGGREGATOR_ENDPOINT
CTX_CAPABILITY=$(jq '.capabilities.signed_entity_types | contains(["CardanoTransactions"])' aggregator_capabilities.json)
echo "ctx_enabled=$(echo $CTX_CAPABILITY | cut -c1-7)" >> $GITHUB_OUTPUT
echo "ctx_enabled=$CTX_CAPABILITY" >> $GITHUB_OUTPUT
- name: Checkout binary
uses: dawidd6/action-download-artifact@v3
Expand Down Expand Up @@ -160,12 +159,12 @@ jobs:
echo "GENESIS_VERIFICATION_KEY=$(curl -s ${{ inputs.genesis_verification_key }})" >> $GITHUB_ENV
echo "TRANSACTIONS_HASHES_TO_CERTIFY=${{ inputs.transactions_hashes_to_certify }}" >> $GITHUB_ENV
- name: Prepare environment variable for Cardano transactions aggregator capability
- name: Assessing aggregator capabilities
id: aggregator_capability
shell: bash
run: |
CTX_AGGREGATOR_CAPABILITY=$(wget -q -O - $AGGREGATOR_ENDPOINT | jq '.capabilities.signed_entity_types | contains(["CardanoTransactions"])')
echo "ctx_enabled=$(echo $CTX_AGGREGATOR_CAPABILITY | cut -c1-7)" >> $GITHUB_OUTPUT
CTX_CAPABILITY=$(wget -q -O - $AGGREGATOR_ENDPOINT | jq '.capabilities.signed_entity_types | contains(["CardanoTransactions"])')
echo "ctx_enabled=$CTX_CAPABILITY" >> $GITHUB_OUTPUT
- name: Prepare Mithril client command
id: command
Expand Down

0 comments on commit 151a364

Please sign in to comment.