Skip to content

Commit

Permalink
Use the cache action
Browse files Browse the repository at this point in the history
  • Loading branch information
Widcket committed Aug 21, 2023
1 parent 38ec507 commit b284f38
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ jobs:

- id: restore-pods-cache
name: Restore Pods cache
uses: actions/cache/restore@f5ce41475b483ad7581884324a6eca9f48f8dcc7
uses: actions/cache@f5ce41475b483ad7581884324a6eca9f48f8dcc7
with:
path: auth0_flutter/example/ios/Pods
key: pods-${{ hashFiles('Podfile.lock') }}-${{ hashFiles('.xcode-version') }}-v1
Expand All @@ -138,14 +138,6 @@ jobs:
working-directory: auth0_flutter/example/ios
run: pod install

- name: Save Pods cache
id: save-pods-cache
uses: actions/cache/save@f5ce41475b483ad7581884324a6eca9f48f8dcc7
if: steps.restore-pods-cache.outputs.cache-hit != 'true'
with:
path: auth0_flutter/example/ios/Pods
key: pods-${{ hashFiles('Podfile.lock') }}-${{ hashFiles('.xcode-version') }}-v1

- name: Set .env
working-directory: auth0_flutter/example/ios
run: printf '%s\n%s\n%s' "AUTH0_DOMAIN=$AUTH0_DOMAIN" "AUTH0_CLIENT_ID=$AUTH0_CLIENT_ID" 'AUTH0_CUSTOM_SCHEME=demo' >> ../.env
Expand Down

0 comments on commit b284f38

Please sign in to comment.