|
|
|
|
@ -122,10 +122,10 @@ jobs:
|
|
|
|
|
APPLE_API_KEY_ID: ${{ secrets.api_key_id }}
|
|
|
|
|
APPLE_API_ISSUER: ${{ secrets.api_key_issuer_id }}
|
|
|
|
|
|
|
|
|
|
- run: node script/e2e.mts 'dist/mac-arm64/LosslessCut.app/Contents/MacOS/LosslessCut' 0:none screenshot.jpeg
|
|
|
|
|
- run: node script/e2e.ts 'dist/mac-arm64/LosslessCut.app/Contents/MacOS/LosslessCut' 0:none screenshot.jpeg
|
|
|
|
|
if: startsWith(matrix.os, 'macos')
|
|
|
|
|
|
|
|
|
|
- run: node script/e2e.mts 'dist\win-unpacked\LosslessCut.exe' desktop screenshot.jpeg
|
|
|
|
|
- run: node script/e2e.ts 'dist\win-unpacked\LosslessCut.exe' desktop screenshot.jpeg
|
|
|
|
|
if: startsWith(matrix.os, 'windows')
|
|
|
|
|
|
|
|
|
|
- run: |
|
|
|
|
|
@ -133,13 +133,13 @@ jobs:
|
|
|
|
|
sudo Xvfb -ac :0 -screen 0 1280x1024x24 > /dev/null 2>&1 &
|
|
|
|
|
sleep 5
|
|
|
|
|
chmod +x dist/linux-unpacked/losslesscut
|
|
|
|
|
node script/e2e.mts 'dist/linux-unpacked/losslesscut' ':0.0+0,0' screenshot.jpeg
|
|
|
|
|
node script/e2e.ts 'dist/linux-unpacked/losslesscut' ':0.0+0,0' screenshot.jpeg
|
|
|
|
|
if: startsWith(matrix.os, 'ubuntu')
|
|
|
|
|
|
|
|
|
|
- name: (MacOS) Upload to Mac App Store
|
|
|
|
|
if: startsWith(matrix.os, 'macos') && env.is_tag == 'true'
|
|
|
|
|
run: |
|
|
|
|
|
node script/xcrunWrapper.mts dist/mas-universal/LosslessCut-mac-universal.pkg ${{ secrets.api_key_id }} ${{ secrets.api_key_issuer_id }} 1505323402 no.mifi.losslesscut-mac
|
|
|
|
|
node script/xcrunWrapper.ts dist/mas-universal/LosslessCut-mac-universal.pkg ${{ secrets.api_key_id }} ${{ secrets.api_key_issuer_id }} 1505323402 no.mifi.losslesscut-mac
|
|
|
|
|
|
|
|
|
|
- name: (MacOS) Upload artifacts
|
|
|
|
|
uses: actions/upload-artifact@v4
|
|
|
|
|
|