diff --git a/.github/workflows/deploying.yml b/.github/workflows/deploying.yml index 64b9883..7f6c6b9 100644 --- a/.github/workflows/deploying.yml +++ b/.github/workflows/deploying.yml @@ -20,27 +20,27 @@ jobs: - uses: actions/cache@v2 with: path: vendor/bundle - key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }} + key: ${{ runner.os }}-gems-${{ secrets.CACHE_VERSION }}-${{ hashFiles('**/Gemfile.lock') }} restore-keys: | ${{ runner.os }}-gems- - uses: actions/cache@v2 id: carthage-cache with: path: Carthage - key: ${{ runner.os }}-carthage-${{ hashFiles('**/Cartfile.resolved') }} + key: ${{ runner.os }}-carthage-${{ secrets.CACHE_VERSION }}-${{ hashFiles('**/Cartfile.resolved') }} restore-keys: | ${{ runner.os }}-carthage- - uses: actions/cache@v2 with: path: Pods - key: ${{ runner.os }}-pods-${{ hashFiles('**/Podfile.lock') }} + key: ${{ runner.os }}-pods-${{ secrets.CACHE_VERSION }}-${{ hashFiles('**/Podfile.lock') }} restore-keys: | ${{ runner.os }}-pods- - uses: actions/cache@v2 id: gopenpgp-cache with: path: go - key: ${{ runner.os }}-gopenpgp-${{ hashFiles('**/gopenpgp_build.sh') }} + key: ${{ runner.os }}-gopenpgp-${{ secrets.CACHE_VERSION }}-${{ hashFiles('**/gopenpgp_build.sh') }} restore-keys: | ${{ runner.os }}-gopenpgp- - name: Bundle Install diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index 3068b61..eea856d 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -14,27 +14,27 @@ jobs: - uses: actions/cache@v2 with: path: vendor/bundle - key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }} + key: ${{ runner.os }}-gems-${{ secrets.CACHE_VERSION }}-${{ hashFiles('**/Gemfile.lock') }} restore-keys: | ${{ runner.os }}-gems- - uses: actions/cache@v2 id: carthage-cache with: path: Carthage - key: ${{ runner.os }}-carthage-${{ hashFiles('**/Cartfile.resolved') }} + key: ${{ runner.os }}-carthage-${{ secrets.CACHE_VERSION }}-${{ hashFiles('**/Cartfile.resolved') }} restore-keys: | ${{ runner.os }}-carthage- - uses: actions/cache@v2 with: path: Pods - key: ${{ runner.os }}-pods-${{ hashFiles('**/Podfile.lock') }} + key: ${{ runner.os }}-pods-${{ secrets.CACHE_VERSION }}-${{ hashFiles('**/Podfile.lock') }} restore-keys: | ${{ runner.os }}-pods- - uses: actions/cache@v2 id: gopenpgp-cache with: path: go - key: ${{ runner.os }}-gopenpgp-${{ hashFiles('**/gopenpgp_build.sh') }} + key: ${{ runner.os }}-gopenpgp-${{ secrets.CACHE_VERSION }}-${{ hashFiles('**/gopenpgp_build.sh') }} restore-keys: | ${{ runner.os }}-gopenpgp- - name: Bundle Install