diff --git a/.github/workflows/build_all_apps.yml b/.github/workflows/build_all_apps.yml index af4655d4..61924f67 100644 --- a/.github/workflows/build_all_apps.yml +++ b/.github/workflows/build_all_apps.yml @@ -13,6 +13,7 @@ env: repo_list: ' {\"repo_name\":[ \"app-mobilecoin\", +\"app-mobilecoin\", ]} ' @@ -23,7 +24,7 @@ jobs: matrix: ${{ steps.set-matrix.outputs.matrix }} steps: - id: set-matrix - run: echo "matrix=${{ env.repo_list }}" >> $GITHUB_OUTPUT + run: echo "matrix=${{ env.repo_list }}" >> $GITHUB_OUTPUT test-build: name: Build for all targets @@ -46,37 +47,37 @@ jobs: - name: Build Path and Targets run: | - cargo +$RUST_STABLE install toml-cli - cd ${{ matrix.repo_name }} - build_path=$(toml get ledger_app.toml app.build_directory) - echo "build_path=$build_path" >> $GITHUB_ENV - build_nanos=$(toml get ledger_app.toml app.devices | grep -o "\"nanos\"" | awk -F '"' '{print $2}') - echo "Build Nano S => $build_nanos" - build_nanosplus=$(toml get ledger_app.toml app.devices | grep -o "\"nanos+\"" | awk -F '"' '{print $2}' | sed 's/+/plus/') - echo "Build Nano S+ => $build_nanosplus" - build_nanox=$(toml get ledger_app.toml app.devices | grep -o "\"nanox\"" | awk -F '"' '{print $2}') - echo "Build Nano X => $build_nanox" - echo "build_nanos=$build_nanos" >> $GITHUB_ENV - echo "build_nanosplus=$build_nanosplus" >> $GITHUB_ENV - echo "build_nanox=$build_nanox" >> $GITHUB_ENV + cargo +$RUST_STABLE install toml-cli + cd ${{ matrix.repo_name }} + build_path=$(toml get ledger_app.toml app.build_directory) + echo "build_path=$build_path" >> $GITHUB_ENV + build_nanos=$(toml get ledger_app.toml app.devices | grep -o "\"nanos\"" | awk -F '"' '{print $2}') + echo "Build Nano S => $build_nanos" + build_nanosplus=$(toml get ledger_app.toml app.devices | grep -o "\"nanos+\"" | awk -F '"' '{print $2}' | sed 's/+/plus/') + echo "Build Nano S+ => $build_nanosplus" + build_nanox=$(toml get ledger_app.toml app.devices | grep -o "\"nanox\"" | awk -F '"' '{print $2}') + echo "Build Nano X => $build_nanox" + echo "build_nanos=$build_nanos" >> $GITHUB_ENV + echo "build_nanosplus=$build_nanosplus" >> $GITHUB_ENV + echo "build_nanox=$build_nanox" >> $GITHUB_ENV - name: Build NanoS if: ${{ env.build_nanos == 'nanos' }} run: | - cd ${{ matrix.repo_name }} - cd ${{ env.build_path }} - echo "Build for Nano S" + cd ${{ matrix.repo_name }} + cd ${{ env.build_path }} + echo "Build for Nano S" - name: Build NanoX if: ${{ env.build_nanox == 'nanox' }} run: | - cd ${{ matrix.repo_name }} - cd ${{ env.build_path }} - echo "Build for Nano X" + cd ${{ matrix.repo_name }} + cd ${{ env.build_path }} + echo "Build for Nano X" - name: Build NanoS+ - if: ${{ env.build_nanosplus == 'nanosplus' }} - run: | - cd ${{ matrix.repo_name }} - cd ${{ env.build_path }} - echo "Build for Nano S+"s \ No newline at end of file + if: ${{ env.build_nanosplus == 'nanosplus' }} + run: | + cd ${{ matrix.repo_name }} + cd ${{ env.build_path }} + echo "Build for Nano S+" \ No newline at end of file