Skip to content

Commit

Permalink
Remove - from cache keys
Browse files Browse the repository at this point in the history
  • Loading branch information
mac-cain13 authored Nov 8, 2020
1 parent 9d4b3ab commit 4d15244
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ jobs:
uses: actions/cache@v1
with:
path: .build
key: ${{ runner.os }}-spm-${{ hashFiles('**/Package.resolved') }}
key: ${{ runner.os }}spm${{ hashFiles('**/Package.resolved') }}
restore-keys: |
${{ runner.os }}-spm-
${{ runner.os }}spm
- name: Test
run: swift test -v

Expand All @@ -42,14 +42,14 @@ jobs:
chmod +x build/Debug/rswift
- name: Pull cache
uses: actions/cache@v1
id: pod-cache
id: podcache
with:
path: Pods
key: ${{ runner.os }}-pods-${{ hashFiles('**/Podfile.lock') }}
key: ${{ runner.os }}pods${{ hashFiles('**/Podfile.lock') }}
restore-keys: |
${{ runner.os }}-pods-
${{ runner.os }}pods
- name: Install pods
if: steps.pod-cache.outputs.cache-hit != 'true'
if: steps.podcache.outputs.cache-hit != 'true'
run: pod install
- name: Test
run: fastlane scan --workspace "ResourceApp.xcworkspace" --scheme "ResourceApp"
Expand All @@ -71,14 +71,14 @@ jobs:
chmod +x build/Debug/rswift
- name: Pull cache
uses: actions/cache@v1
id: pod-cache
id: podcache
with:
path: Pods
key: ${{ runner.os }}-pods-${{ hashFiles('**/Podfile.lock') }}
key: ${{ runner.os }}pods${{ hashFiles('**/Podfile.lock') }}
restore-keys: |
${{ runner.os }}-pods-
${{ runner.os }}pods
- name: Install pods
if: steps.pod-cache.outputs.cache-hit != 'true'
if: steps.podcache.outputs.cache-hit != 'true'
run: pod install
- name: Test
run: fastlane scan --workspace "ResourceApp.xcworkspace" --scheme "ResourceApp-tvOS"
Expand All @@ -92,9 +92,9 @@ jobs:
uses: actions/cache@v1
with:
path: .build
key: ${{ runner.os }}-spm-${{ hashFiles('**/Package.resolved') }}
key: ${{ runner.os }}spm${{ hashFiles('**/Package.resolved') }}
restore-keys: |
${{ runner.os }}-spm-
${{ runner.os }}spm
- name: Set version
run: |
sed -i "" "s/\(static let version = \"\)Unknown\(\"\)/\1Development build: ${GITHUB_SHA}\2/" Sources/rswift/Rswift.swift
Expand Down

0 comments on commit 4d15244

Please sign in to comment.