From f7601c45bc51912173b7687cda6b0dcd2150e660 Mon Sep 17 00:00:00 2001 From: Franco Meloni Date: Sat, 15 Jan 2022 21:53:00 +0000 Subject: [PATCH] Update ci.yml Make dependendencies xcode/swift version specific --- .github/workflows/ci.yml | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9d4b6f72..e00250a7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,9 +26,8 @@ jobs: .build/repositories key: ${{ runner.os }}-dependencies-${{ matrix.xcode }}-${{ hashFiles('**/Package.resolved') }} restore-keys: | + ${{ runner.os }}-dependencies-${{ matrix.xcode }}-${{ hashFiles('**/Package.resolved') }} ${{ runner.os }}-dependencies-${{ matrix.xcode }}- - ${{ runner.os }}-dependencies- - ${{ runner.os }}- - name: Select Xcode run: | @@ -65,9 +64,8 @@ jobs: .build/repositories key: ${{ runner.os }}-dependencies-${{ matrix.xcode }}-${{ hashFiles('**/Package.resolved') }} restore-keys: | + ${{ runner.os }}-dependencies-${{ matrix.xcode }}-${{ hashFiles('**/Package.resolved') }} ${{ runner.os }}-dependencies-${{ matrix.xcode }}- - ${{ runner.os }}-dependencies- - ${{ runner.os }}- - name: Select Xcode run: | @@ -107,9 +105,8 @@ jobs: .build/repositories key: ${{ runner.os }}-dependencies-${{ matrix.swift }}-${{ hashFiles('**/Package.resolved') }} restore-keys: | + ${{ runner.os }}-dependencies-${{ matrix.swift }}-${{ hashFiles('**/Package.resolved') }} ${{ runner.os }}-dependencies-${{ matrix.swift }}- - ${{ runner.os }}-dependencies- - ${{ runner.os }}- - name: Install danger-js run: | @@ -145,9 +142,8 @@ jobs: .build/repositories key: ${{ runner.os }}-without-spm-package-${{ matrix.xcode }}-${{ hashFiles('**/Package.resolved') }} restore-keys: | + ${{ runner.os }}-without-spm-package-${{ matrix.xcode }}-${{ hashFiles('**/Package.resolved') }} ${{ runner.os }}-without-spm-package-${{ matrix.xcode }}- - ${{ runner.os }}-without-spm-package- - ${{ runner.os }}- - name: Select Xcode run: | @@ -185,9 +181,8 @@ jobs: .build/repositories key: ${{ runner.os }}-without-spm-package-${{ matrix.swift }}-${{ hashFiles('**/Package.resolved') }} restore-keys: | + ${{ runner.os }}-without-spm-package-${{ matrix.swift }}-${{ hashFiles('**/Package.resolved') }} ${{ runner.os }}-without-spm-package-${{ matrix.swift }}- - ${{ runner.os }}-without-spm-package- - ${{ runner.os }}- - name: Install danger-js run: |