Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 9 additions & 21 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
printf -- "\n\n-Mounting the DMG file\n"
hdiutil attach DNGConverter_17_5.dmg

# Rosetta2 is installed on arm64 Macs
# Rosetta2 is needed for AdobeDNGConverter and is installed on arm64 Macs
if [ -e /Library/Apple/usr/libexec/oah/libRosettaRuntime ]; then
printf -- "\n\n-Running on Apple Silicon\n"
else
Expand All @@ -49,18 +49,9 @@ jobs:
printf -- "\n\n-Unmounting the DMG file\n"
hdiutil detach /Volumes/DNGConverter_17_5

- name: Verify installation
run: |
du -sh /Applications/Adobe*
printf -- "\n\n-Verifying the installation\n"
/Applications/Adobe\ DNG\ Converter.app/Contents/MacOS/Adobe\ DNG\ Converter -d

- name: Upload installed environment
uses: actions/upload-artifact@v4
with:
name: dng-env
path: /Applications/Adobe\ DNG\ Converter.app
retention-days: 30

test:
needs: build
runs-on: *runner-os
Expand All @@ -69,17 +60,14 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v5

- name: Download installed environment
uses: actions/download-artifact@v4
- name: Restore Adobe DNG Converter.app from cache
id: cache-dng-app
uses: actions/cache@v3
with:
name: dng-env
path: /tmp/dng-app

- name: Move environment to /Applications
run: |
sudo mkdir -p "/Applications/Adobe DNG Converter.app"
sudo cp -R /tmp/dng-app/* "/Applications/Adobe DNG Converter.app/"
sudo chmod +x "/Applications/Adobe DNG Converter.app/Contents/MacOS/Adobe DNG Converter"
path: /Applications/Adobe\ DNG\ Converter.app
key: dng-app-17-5
restore-keys: |
dng-app-

- name: Verify installation
run: |
Expand Down