Skip to content

Commit

Permalink
Update bootstrap action to use environment flag instead (#29923)
Browse files Browse the repository at this point in the history
* Update bootstrap action to use environment flag instead

* Prep PR for real review
  • Loading branch information
tehampson authored Oct 25, 2023
1 parent c4148b0 commit bb63421
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions .github/actions/checkout-submodules-and-bootstrap/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,10 @@ runs:
uses: ./.github/actions/bootstrap-cache
- name: Bootstrap
uses: ./.github/actions/bootstrap
env:
PW_NO_CIPD_CACHE_DIR: Y
with:
platform: ${{ inputs.platform }}
- name: Remove CIPD cache directory
# If there is a bootstrap-cache miss, and bootstrap installs CIPD itself,
# there is roughly 1.4GB that remains in this cache that is useless from
# this point onwards.
shell: bash
continue-on-error: true
run: |
du -sh $HOME/.cipd-cache-dir/
rm -rf $HOME/.cipd-cache-dir/ || echo "Removing cipd cache dir failed"
- name: Dump disk info after checkout submodule & Bootstrap
shell: bash
run: scripts/dump_diskspace_info.sh
Expand Down

0 comments on commit bb63421

Please sign in to comment.