diff --git a/.github/workflows/build-desktop-external-reusable.yml b/.github/workflows/build-desktop-external-reusable.yml index b3f309401999..2b586ce2aa1b 100644 --- a/.github/workflows/build-desktop-external-reusable.yml +++ b/.github/workflows/build-desktop-external-reusable.yml @@ -62,10 +62,11 @@ jobs: with: ruby-version: 3.3.0 bundler-cache: true - - name: Setup the toolchain - uses: LedgerHQ/ledger-live/tools/actions/composites/setup-toolchain@develop + - name: Setup the caches + uses: LedgerHQ/ledger-live/tools/actions/composites/setup-caches@develop + id: setup-caches with: - upgrade_npm: ${{ matrix.config.name == 'win' }} + install-proto: true - name: Build desktop uses: LedgerHQ/ledger-live/tools/actions/composites/setup-build-desktop@develop id: build-desktop diff --git a/.github/workflows/build-mobile-external-reusable.yml b/.github/workflows/build-mobile-external-reusable.yml index 944a8486575c..3e80e5d8054a 100644 --- a/.github/workflows/build-mobile-external-reusable.yml +++ b/.github/workflows/build-mobile-external-reusable.yml @@ -33,8 +33,11 @@ jobs: persist-credentials: false - name: Setup git user uses: LedgerHQ/ledger-live/tools/actions/composites/setup-git-user@develop - - name: Setup the toolchain - uses: LedgerHQ/ledger-live/tools/actions/composites/setup-toolchain@develop + - name: Setup the caches + uses: LedgerHQ/ledger-live/tools/actions/composites/setup-caches@develop + id: setup-caches + with: + install-proto: true - uses: ruby/setup-ruby@v1 with: ruby-version: 3.3.0 @@ -95,8 +98,11 @@ jobs: persist-credentials: false - name: Setup git user uses: LedgerHQ/ledger-live/tools/actions/composites/setup-git-user@develop - - name: Setup the toolchain - uses: LedgerHQ/ledger-live/tools/actions/composites/setup-toolchain@develop + - name: Setup the caches + uses: LedgerHQ/ledger-live/tools/actions/composites/setup-caches@develop + id: setup-caches + with: + install-proto: true - uses: ruby/setup-ruby@v1 with: ruby-version: 3.3.0 diff --git a/.github/workflows/release-create-hotfix.yml b/.github/workflows/release-create-hotfix.yml index 4484100be617..05fff0ee54bc 100644 --- a/.github/workflows/release-create-hotfix.yml +++ b/.github/workflows/release-create-hotfix.yml @@ -24,8 +24,11 @@ jobs: - name: create hotfix branch run: | git checkout -b hotfix - - name: Setup the toolchain - uses: LedgerHQ/ledger-live/tools/actions/composites/setup-toolchain@develop + - name: Setup the caches + uses: LedgerHQ/ledger-live/tools/actions/composites/setup-caches@develop + id: setup-caches + with: + install-proto: true - name: install dependencies run: pnpm i -F "ledger-live" - name: Move minor updates to patch for hotfix branch diff --git a/.github/workflows/test-desktop-external-reusable.yml b/.github/workflows/test-desktop-external-reusable.yml index e4f7ff0e1525..89a605f43e5f 100644 --- a/.github/workflows/test-desktop-external-reusable.yml +++ b/.github/workflows/test-desktop-external-reusable.yml @@ -34,10 +34,11 @@ jobs: repository: ${{ inputs.repository }} token: ${{ secrets.GITHUB_TOKEN }} persist-credentials: false - - name: Setup the toolchain - uses: LedgerHQ/ledger-live/tools/actions/composites/setup-toolchain@develop + - name: Setup the caches + uses: LedgerHQ/ledger-live/tools/actions/composites/setup-caches@develop + id: setup-caches with: - install-dotnet: true + install-proto: true - uses: LedgerHQ/ledger-live/tools/actions/composites/setup-test-desktop@develop id: setup-test-desktop with: @@ -72,8 +73,11 @@ jobs: repository: ${{ inputs.repository }} token: ${{ secrets.GITHUB_TOKEN }} persist-credentials: false - - name: Setup the toolchain - uses: LedgerHQ/ledger-live/tools/actions/composites/setup-toolchain@develop + - name: Setup the caches + uses: LedgerHQ/ledger-live/tools/actions/composites/setup-caches@develop + id: setup-caches + with: + install-proto: true - uses: LedgerHQ/ledger-live/tools/actions/composites/setup-test-desktop@develop id: setup-test-desktop with: @@ -100,13 +104,11 @@ jobs: repository: ${{ inputs.repository }} token: ${{ secrets.GITHUB_TOKEN }} persist-credentials: false - - name: Setup the toolchain - uses: LedgerHQ/ledger-live/tools/actions/composites/setup-toolchain@develop + - name: Setup the caches + uses: LedgerHQ/ledger-live/tools/actions/composites/setup-caches@develop + id: setup-caches with: - accountId: ${{ secrets.AWS_ACCOUNT_ID_PROD }} - roleName: ${{ secrets.AWS_CACHE_ROLE_NAME }} - region: ${{ secrets.AWS_CACHE_REGION }} - turbo-server-token: ${{ secrets.TURBOREPO_SERVER_TOKEN }} + install-proto: true - uses: LedgerHQ/ledger-live/tools/actions/composites/setup-test-desktop@develop id: setup-test-desktop with: