From 9d74c5608f3bce383a82c15f8858b645e72c4de9 Mon Sep 17 00:00:00 2001 From: Simon Bihel Date: Fri, 1 Mar 2024 15:55:11 +0000 Subject: [PATCH 1/2] Cache cocoapods specs repo on release --- .github/workflows/release.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6fb1bc4..693e7cc 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -29,6 +29,12 @@ jobs: uses: Swatinem/rust-cache@v2 with: cache-on-failure: "true" + # Needed because pod trunk push --synchronous clones a massive repo + - name: Cocoapods Cache + uses: actions/cache@v4 + with: + path: ~/.cocoapods/repos + key: ${{ runner.os }}-cocoapods - uses: taiki-e/install-action@v2 with: From cacfd7469e99db05ad2e788b1b5af34775bbae8b Mon Sep 17 00:00:00 2001 From: Simon Bihel Date: Fri, 1 Mar 2024 15:57:41 +0000 Subject: [PATCH 2/2] Save even on failure --- .github/workflows/release.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 693e7cc..a0005fe 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -35,6 +35,7 @@ jobs: with: path: ~/.cocoapods/repos key: ${{ runner.os }}-cocoapods + save-always: true - uses: taiki-e/install-action@v2 with: