Skip to content

[draft] 2nd version, leveraging the reusable builder workflow #2

[draft] 2nd version, leveraging the reusable builder workflow

[draft] 2nd version, leveraging the reusable builder workflow #2

name: APP-TESTER TESTS
on:
workflow_dispatch:
push:
pull_request:
jobs:
define_matrix:
name: Generate applications list for each device according to manifests
runs-on: ubuntu-latest
outputs:
app_url_by_device: ${{ steps.process_devices.outputs.app_url_by_device }}
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: |
pip install ledgered
- name: Define the list of application to build by device
id: process_devices
run: |
devices=$(python script.py -l 10 -d all -t ${{ secrets.GITHUB_TOKEN }})
echo "app_url_by_device=$devices" >> $GITHUB_OUTPUT
name: Build application using the reusable workflow
strategy:

Check failure on line 27 in .github/workflows/build_for_sdks.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build_for_sdks.yml

Invalid workflow file

You have an error in your yaml syntax on line 27
fail-fast: false
matrix:
app_name: ${{ fromJSON(needs.define_matrix.outputs.app_url_by_device) }}
uses: LedgerHQ/ledger-app-workflows/.github/workflows/reusable_build.yml@v1
with:
app_repository: matrix.app.repository_url
run_for_devices: matrix.app.devices
upload_app_binaries_artifact: "compiled_app_binaries"