Skip to content

Commit

Permalink
tmp: update yml file
Browse files Browse the repository at this point in the history
  • Loading branch information
dlachaume committed Feb 22, 2024
1 parent 6b1f009 commit 1bc15c4
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/test-client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,6 @@ jobs:
matrix:
os: [ ubuntu-22.04, macos-12, windows-latest ]
runs-on: ${{ matrix.os }}
env:
CTX_AGGREGATOR_CAPABILITY: false
steps:
- name: Checkout sources
uses: actions/checkout@v3
Expand Down Expand Up @@ -78,17 +76,17 @@ jobs:
if: matrix.os == 'ubuntu-22.04' || matrix.os == 'macos-12'
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=$(echo $CTX_CAPABILITY | cut -c1-7)" >> $GITHUB_OUTPUT
- name: Prepare environment variable for Cardano transactions aggregator capability (windows-latest)
id: aggregator_capability_windows
if: matrix.os == 'windows-latest'
shell: bash
run: |
aria2c -o aggregator_capabilities.json $AGGREGATOR_ENDPOINT
CTX_AGGREGATOR_CAPABILITY=$(jq '.capabilities.signed_entity_types | contains(["CardanoTransactions"])' aggregator_capabilities.json)
echo "ctx_enabled=$(echo $CTX_AGGREGATOR_CAPABILITY | cut -c1-7)" >> $GITHUB_OUTPUT
CTX_CAPABILITY=$(jq '.capabilities.signed_entity_types | contains(["CardanoTransactions"])' aggregator_capabilities.json)
echo "ctx_enabled=$(echo $CTX_CAPABILITY | cut -c1-7)" >> $GITHUB_OUTPUT
- name: Checkout binary
uses: dawidd6/action-download-artifact@v2
Expand Down

0 comments on commit 1bc15c4

Please sign in to comment.