feat(mobile): update background images for wallet 4.0 #37231
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: "[EXT-All Platforms] - Build and Test (External) - PR" | |
| on: | |
| pull_request: | |
| merge_group: | |
| types: [checks_requested] | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref_name != 'develop' && github.ref || github.run_id }} | |
| cancel-in-progress: true | |
| permissions: | |
| id-token: write | |
| contents: read | |
| pull-requests: write | |
| jobs: | |
| determine-affected: | |
| name: "Turbo Affected" | |
| if: ${{github.event.pull_request.head.repo.fork }} | |
| uses: LedgerHQ/ledger-live/.github/workflows/turbo-affected-reusable.yml@develop | |
| with: | |
| head_branch: ${{ github.event.pull_request.head.ref || github.event.merge_group.head_ref }} | |
| base_branch: ${{ github.event.pull_request.base.ref || github.event.merge_group.base_ref }} | |
| # External from Fork branches | |
| build-desktop-external: | |
| name: "Build Desktop (External)" | |
| needs: determine-affected | |
| if: ${{contains(needs.determine-affected.outputs.paths, 'ledger-live-desktop') && github.event.pull_request.head.repo.fork }} | |
| uses: LedgerHQ/ledger-live/.github/workflows/build-desktop-external-reusable.yml@develop | |
| with: | |
| ref: ${{ github.event.pull_request.head.ref }} | |
| repository: ${{ github.event.pull_request.head.repo.full_name }} | |
| secrets: inherit | |
| test-desktop-external: | |
| name: "Test Desktop (External)" | |
| needs: determine-affected | |
| if: ${{contains(needs.determine-affected.outputs.paths, 'ledger-live-desktop') && github.event.pull_request.head.repo.fork }} | |
| uses: LedgerHQ/ledger-live/.github/workflows/test-desktop-external-reusable.yml@develop | |
| with: | |
| ref: ${{ github.event.pull_request.head.ref }} | |
| repository: ${{ github.event.pull_request.head.repo.full_name }} | |
| secrets: inherit | |
| build-mobile-external: | |
| name: "Build Mobile (External)" | |
| needs: determine-affected | |
| if: ${{contains(needs.determine-affected.outputs.paths, 'ledger-live-mobile') && github.event.pull_request.head.repo.fork}} | |
| uses: LedgerHQ/ledger-live/.github/workflows/build-mobile-external-reusable.yml@develop | |
| with: | |
| ref: ${{ github.event.pull_request.head.ref }} | |
| repository: ${{ github.event.pull_request.head.repo.full_name }} | |
| secrets: inherit | |
| # Final Check required | |
| # @todo: Change OK step | |
| ok: | |
| name: "OK External" | |
| needs: | |
| - build-desktop-external | |
| - test-desktop-external | |
| - build-mobile-external | |
| runs-on: ubuntu-22.04 | |
| if: ${{ always() && !cancelled() && github.event.pull_request.head.repo.fork }} | |
| steps: | |
| - name: Check result | |
| if: contains(needs.*.result, 'failure') | |
| run: exit 1 |