| name: Checkout submodules & Bootstrap |
| description: Checkout submodules & Bootstrap |
| inputs: |
| platform: |
| description: "Platform name" |
| required: true |
| extra-submodule-parameters: |
| description: "extra submodule parameters" |
| required: false |
| default: "" |
| bootstrap-log-name: |
| description: "Bootstrap log name" |
| required: false |
| default: bootstrap-logs |
| runs: |
| using: "composite" |
| steps: |
| - name: Maximize runner disk |
| uses: ./.github/actions/maximize-runner-disk |
| - name: Dump disk info |
| uses: ./.github/actions/dump-disk-info |
| - name: Set git safe directory for local act runs |
| uses: ./.github/actions/git-safe-directory |
| - name: Checkout submodules |
| uses: ./.github/actions/checkout-submodules |
| with: |
| platform: ${{ inputs.platform }} |
| extra-parameters: ${{ inputs.extra-submodule-parameters }} |
| - name: Bootstrap Cache |
| uses: ./.github/actions/bootstrap-cache |
| - name: Bootstrap |
| uses: ./.github/actions/bootstrap |
| env: |
| PW_NO_CIPD_CACHE_DIR: Y |
| with: |
| platform: ${{ inputs.platform }} |
| - name: Dump disk info after checkout submodule & Bootstrap |
| shell: bash |
| run: scripts/dump_diskspace_info.sh |
| - name: Upload Bootstrap Logs |
| uses: ./.github/actions/upload-bootstrap-logs |
| with: |
| bootstrap-log-name: ${{ inputs.bootstrap-log-name }} |