Skip to content

Commit

Permalink
Attempted fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ksperling-apple committed Mar 27, 2024
1 parent 7a206fa commit 21a2ff6
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions .github/actions/bootstrap/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,10 @@ runs:
- name: Bootstrap from cache
id: restore
uses: Wandalen/wretry.action@v1.4.10
uses: Wandalen/wretry.action@v2.1.0
continue-on-error: true
with:
action: ${{ steps.prepare.outputs.backend }}/cache/restore@v4
attempt_limit: 3
attempt_delay: 2000
with: |
key: ${{ steps.prepare.outputs.key }}
path: |
Expand All @@ -58,24 +56,22 @@ runs:
run: source scripts/bootstrap.sh -p all,${{ inputs.platform }}

- name: Save bootstrap cache
uses: Wandalen/wretry.action@v1.4.10
uses: Wandalen/wretry.action@v2.1.0
if: ${{ fromJSON(steps.restore.outputs.outputs).cache-hit != 'true' }}
continue-on-error: true
with:
action: ${{ steps.prepare.outputs.backend }}/cache/save@v4
attempt_limit: 3
attempt_delay: 2000
with: |
key: ${{ steps.prepare.outputs.key }}
path: |
.environment
build_overrides/pigweed_environment.gni
.environment
build_overrides/pigweed_environment.gni
- name: Upload bootstrap logs
uses: actions/upload-artifact@v4
if: ${{ always() && !env.ACT && fromJSON(steps.restore.outputs.outputs).cache-hit != 'true' }}
with:
name: ${{ inputs.bootstrap-log-name }}
path: |
.environment/gn_out/.ninja_log
.environment/pigweed-venv/*.log
.environment/gn_out/.ninja_log
.environment/pigweed-venv/*.log

0 comments on commit 21a2ff6

Please sign in to comment.