Skip to content

Commit

Permalink
update workflow 4
Browse files Browse the repository at this point in the history
  • Loading branch information
yogh333 committed Feb 5, 2024
1 parent 8cb29d2 commit 4bf6e83
Showing 1 changed file with 8 additions and 15 deletions.
23 changes: 8 additions & 15 deletions .github/workflows/build_all_apps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,27 +10,20 @@ on:
pull_request:


env:
REPO_BRANCH_PAIRS: '[{"repo":"LedgerHQ/app-mobilecoin", "branch":"develop"}, {"repo":"LedgerHQ/app-radix-babylon", "branch":"develop"}, {"repo":"LedgerHQ/app-boilerplate-rust", "branch":"main"}]'


jobs:
prepare-matrix:
runs-on: ubuntu-latest
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
steps:
- id: set-matrix
run: |
echo "::set-output name=matrix::${{ env.REPO_BRANCH_PAIRS }}"
jobs:
test-build:
name: Build for all targets
needs: prepare-matrix
strategy:
fail-fast: false
matrix:
${{ fromJson(needs.prepare-matrix.outputs.matrix) }}
include:
- repo: 'LedgerHQ/app-mobilecoin'
branch: 'develop'
- repo: 'LedgerHQ/app-radix-babylon'
branch: 'develop'
- repo: 'LedgerHQ/app-boilerplate-rust'
branch: 'main'
runs-on: ubuntu-latest
container:
image: ghcr.io/ledgerhq/ledger-app-builder/ledger-app-builder:latest
Expand Down

0 comments on commit 4bf6e83

Please sign in to comment.