diff --git a/.github/workflows/create_variant.yml b/.github/workflows/create_variant.yml index 00aac7d734..1e6773fccf 100644 --- a/.github/workflows/create_variant.yml +++ b/.github/workflows/create_variant.yml @@ -94,9 +94,18 @@ jobs: name: duckduckgo-dmg path: ${{ github.workspace }}/dmg + - name: Unarchive DMG artifact + id: unarchive-dmg-artifact + if: ${{ steps.download-dmg-artifact.outcome == 'success' }} + continue-on-error: true + working-directory: ${{ github.workspace }}/dmg + run: | + unzip duckduckgo-dmg.zip + rm -f duckduckgo-dmg.zip + - name: Download release app # Download the release app only if download-dmg-artifact fails - if: ${{ steps.download-dmg-artifact.outcome == 'failure' }} + if: ${{ steps.unarchive-dmg-artifact.outcome == 'failure' }} run: | curl -fLSs "${{ vars.RELEASE_DMG_URL }}" --output duckduckgo.dmg hdiutil attach duckduckgo.dmg -mountpoint vanilla