Skip to content
This repository has been archived by the owner on Dec 1, 2024. It is now read-only.

Update cargo.toml and add reusable workflow #5

Update cargo.toml and add reusable workflow

Update cargo.toml and add reusable workflow #5

name: Build through reusable workflow
# This workflow will build the app.
# It calls a reusable workflow developed by Ledger's internal developer team to build the application and upload the
# resulting binaries.
on:
workflow_dispatch:
push:
branches:
- master
- main
- develop
pull_request:
jobs:
build_application:
name: Build application using the reusable workflow
uses: LedgerHQ/ledger-app-workflows/.github/workflows/reusable_build.yml@xch/rust-ci

Check failure on line 19 in .github/workflows/build_and_functional_tests.yml

View workflow run for this annotation

GitHub Actions / Build through reusable workflow

Invalid workflow file

The workflow is not valid. In .github/workflows/build_and_functional_tests.yml (Line: 19, Col: 11): Error from called workflow LedgerHQ/ledger-app-workflows/.github/workflows/reusable_build.yml@xch/rust-ci (Line: 72, Col: 13): Unexpected symbol: '"true"'. Located at position 47 within expression: needs.call_get_is_rust_app.outputs.is_rust == "true" LedgerHQ/ledger-app-workflows/.github/workflows/reusable_build.yml@xch/rust-ci (Line: 79, Col: 13): Unexpected symbol: '"true"'. Located at position 47 within expression: needs.call_get_is_rust_app.outputs.is_rust == "true"
with:
upload_app_binaries_artifact: "compiled_app_binaries"
builder: ledger-app-builder
run_for_devices: '["nanos", "nanox", "nanosplus"]'