@@ -19,11 +19,11 @@ jobs:
1919
2020 # Test on multiple Python versions (Linux)
2121 test :
22- runs-on : ubuntu-latest
22+ runs-on : ubuntu-22.04
2323 strategy :
2424 fail-fast : false
2525 matrix :
26- python-version : ["3.9 ", "3.10 ", "3.11 "]
26+ python-version : ["3.10 ", "3.11 ", "3.12 "]
2727 steps :
2828 - uses : actions/checkout@v4
2929 - name : Set up Python ${{ matrix.python-version }}
5252 strategy :
5353 fail-fast : false
5454 matrix :
55- os : [windows-latest, ubuntu-latest , macos-latest]
55+ os : [windows-latest, ubuntu-22.04 , macos-latest, macos-15-intel ]
5656
5757 runs-on : ${{ matrix.os }}
5858
@@ -71,49 +71,43 @@ jobs:
7171 if : runner.os == 'Linux'
7272 run : |
7373 sudo apt-get update
74- sudo apt-get install -y ffmpeg exiftool
74+ sudo apt-get install -y ffmpeg
7575
76- - name : Collect ffmpeg & exiftool (Linux)
76+ - name : Collect ffmpeg (Linux)
7777 if : runner.os == 'Linux'
7878 run : |
7979 mkdir -p bin
8080 FFMPEG_PATH=$(which ffmpeg)
81- EXIFTOOL_PATH=$(which exiftool)
8281
8382 echo "ffmpeg : $FFMPEG_PATH"
84- echo "exiftool : $EXIFTOOL_PATH"
8583
8684 cp "$FFMPEG_PATH" bin/ffmpeg
87- cp "$EXIFTOOL_PATH" bin/exiftool
8885
89- chmod +x bin/ffmpeg bin/exiftool
86+ chmod +x bin/ffmpeg
9087
9188 - name : Install system deps (macOS)
9289 if : runner.os == 'macOS'
9390 run : |
94- brew install ffmpeg exiftool
91+ brew install ffmpeg
9592
96- - name : Collect ffmpeg & exiftool (macOS)
93+ - name : Collect ffmpeg (macOS)
9794 if : runner.os == 'macOS'
9895 shell : bash
9996 run : |
10097 mkdir -p bin
10198 FFMPEG_PATH=$(which ffmpeg)
102- EXIFTOOL_PATH=$(which exiftool)
103-
99+
104100 echo "ffmpeg: $FFMPEG_PATH"
105- echo "exiftool : $EXIFTOOL_PATH"
106-
101+
107102 cp "$FFMPEG_PATH" bin/ffmpeg
108- cp "$EXIFTOOL_PATH" bin/exiftool
109-
110- chmod +x bin/ffmpeg bin/exiftool
103+
104+ chmod +x bin/ffmpeg
111105
112106 - name : Download ExifTool (Windows)
113107 if : runner.os == 'Windows'
114108 shell : pwsh
115109 run : |
116- curl -L https://exiftool.org/ exiftool-13.43_64.zip -o exiftool.zip
110+ curl -L https://sourceforge.net/projects/ exiftool/files/exiftool -13.43_64.zip/download -o exiftool.zip
117111 mkdir bin
118112 Expand-Archive exiftool.zip exiftool_temp -Force
119113 $inner = Get-ChildItem exiftool_temp -Directory | Select-Object -First 1
@@ -160,8 +154,7 @@ jobs:
160154 --add-data bin/exiftool_files;bin/exiftool_files"
161155 else
162156 BIN_ARGS="\
163- --add-binary bin/ffmpeg:bin \
164- --add-binary bin/exiftool:bin"
157+ --add-binary bin/ffmpeg:bin"
165158 fi
166159
167160 pyinstaller $COMMON_ARGS $BIN_ARGS script.py
@@ -179,11 +172,12 @@ jobs:
179172 - name : Upload artifact
180173 uses : actions/upload-artifact@v4
181174 with :
182- name : MemorEasy-${{ runner.os }}
175+ name : MemorEasy-${{ runner.os }}-${{ runner.arch }}
183176 path : dist/*
184177
185178 - name : Upload binaries to GitHub Release
186179 if : startsWith(github.ref, 'refs/tags/')
187180 uses : softprops/action-gh-release@v1
188181 with :
182+ name : MemorEasy-${{ runner.os }}-${{ runner.arch }}
189183 files : dist/*
0 commit comments