GH Actions: Make sure we use the latest version of MatrixKit

We use a local version of the MatrixKit podspec, MatrixKit.edited.podspec. This creates an issue in the computation of Podfile.lock. MatrixKit is not associated to a commit. `pod install` will be happy with its marketing version. It will not try to update if this marketing version matches with the one in the cache.

So delete the MatrixKit pod cache.

Generated Podfile.lock:
```
...
EXTERNAL SOURCES:
  MatrixKit:
    :podspec: MatrixKit.edited.podspec
  MatrixSDK:
    :branch: manu/test_ci_2
    :git: https://github.com/matrix-org/matrix-ios-sdk.git

CHECKOUT OPTIONS:
  MatrixSDK:
    :commit: 32614df19df3ef43e77f25a06ddb0b04e910f90b
    :git: https://github.com/matrix-org/matrix-ios-sdk.git
...
```
This commit is contained in:
manuroe
2021-06-09 08:35:14 +02:00
parent b51c6ed630
commit 6c9989e2da
2 changed files with 9 additions and 1 deletions

View File

@@ -36,6 +36,10 @@ jobs:
restore-keys: |
${{ runner.os }}-gems-
# Make sure we use the latest version of MatrixKit
- name: Reset MatrixKit pod
run: rm -rf Pods/MatrixKit
# Common setup
# Note: GH actions do not support yaml anchor yet. We need to duplicate this for every job
- name: Bundle install
@@ -72,6 +76,10 @@ jobs:
restore-keys: |
${{ runner.os }}-gems-
# Make sure we use the latest version of MatrixKit
- name: Reset MatrixKit pod
run: rm -rf Pods/MatrixKit
# Common setup
# Note: GH actions do not support yaml anchor yet. We need to duplicate this for every job
- name: Bundle install

View File

@@ -18,7 +18,7 @@ Changes to be released in next version
*
🧱 Build
*
* GH Actions: Make sure we use the latest version of MatrixKit.
Others
*