1
0
mirror of synced 2025-02-08 23:09:36 +01:00

git: Try creating dmg a few times again in case XProtect is being a bitch

This commit is contained in:
WerWolv 2025-01-30 22:25:00 +01:00
parent 2062a23347
commit d0b32e5224

View File

@ -376,7 +376,12 @@ jobs:
cd create-dmg cd create-dmg
npm i && npm -g i npm i && npm -g i
cd ../build/install cd ../build/install
create-dmg ImHex.app || true for i in $(seq 1 10); do
create-dmg ImHex.app || true
if ls -d *.dmg 1>/dev/null 2>/dev/null; then
break;
fi
done
mv *.dmg ../../imhex-${{ env.IMHEX_VERSION }}-macOS${{ matrix.suffix }}-x86_64.dmg mv *.dmg ../../imhex-${{ env.IMHEX_VERSION }}-macOS${{ matrix.suffix }}-x86_64.dmg
- name: 🗝️ Generate build provenance attestations - name: 🗝️ Generate build provenance attestations
@ -490,8 +495,13 @@ jobs:
cd create-dmg cd create-dmg
npm i && npm -g i npm i && npm -g i
cd ../out cd ../out
create-dmg ImHex.app || true for i in $(seq 1 10); do
mv *.dmg ../imhex-${{ env.IMHEX_VERSION }}-macOS${{ matrix.suffix }}-arm64.dmg create-dmg ImHex.app || true
if ls -d *.dmg 1>/dev/null 2>/dev/null; then
break;
fi
done
mv *.dmg ../imhex-${{ env.IMHEX_VERSION }}-macOS${{ matrix.suffix }}-arm64.dmg
- name: 🗝️ Generate build provenance attestations - name: 🗝️ Generate build provenance attestations
uses: actions/attest-build-provenance@v2 uses: actions/attest-build-provenance@v2