Skip to content

Commit 684b250

Browse files
committed
Attempting to cache DNG.app
1 parent 831377e commit 684b250

1 file changed

Lines changed: 14 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,17 @@ jobs:
3333
printf -- "-Downloading the DNG Converter .dmg file\n"
3434
curl -L -o DNGConverter_17_5.dmg https://download.adobe.com/pub/adobe/dng/mac/DNGConverter_17_5.dmg
3535
36+
- name: Cache Adobe DNG Converter.app
37+
id: cache-dng-app
38+
uses: actions/cache@v3
39+
with:
40+
path: /Applications/Adobe\ DNG\ Converter.app
41+
key: dng-app-17-5
42+
restore-keys: |
43+
dng-app-
44+
3645
- name: Install Adobe DNG Converter
46+
if: steps.cache-dng-app.outputs.cache-hit != 'true'
3747
run: |
3848
printf -- "\n\n-Mounting the DMG file\n"
3949
hdiutil attach DNGConverter_17_5.dmg
@@ -80,10 +90,10 @@ jobs:
8090
run: |
8191
ls -l
8292
ls -l /Applications
83-
ls -l /Applications/Adobe\ DNG\ Converter.app
84-
ls -l /Applications/Adobe\ DNG\ Converter.app/Contents
85-
ls -l /Applications/Adobe\ DNG\ Converter.app/Contents/MacOS
86-
/Applications/Adobe\ DNG\ Converter.app/Contents/MacOS/Adobe\ DNG\ Converter -d
93+
ls -l "/Applications/Adobe DNG Converter.app"
94+
ls -l "/Applications/Adobe DNG Converter.app/Contents"
95+
ls -l "/Applications/Adobe DNG Converter.app/Contents/MacOS"
96+
"/Applications/Adobe DNG Converter.app/Contents/MacOS/Adobe DNG Converter" -d
8797
8898
- name: Test organizeGoProDNG.sh
8999
run: |

0 commit comments

Comments
 (0)