|
99 | 99 | cd frontend |
100 | 100 | bun install |
101 | 101 |
|
| 102 | + - name: Install FFmpeg build dependencies |
| 103 | + if: matrix.variant.tags == 'embed_ffmpeg' |
| 104 | + run: | |
| 105 | + brew install nasm yasm pkg-config x264 x265 libvpx aom opus libvorbis |
| 106 | +
|
102 | 107 | - name: Download FFmpeg binaries for embedding |
103 | 108 | if: matrix.variant.tags == 'embed_ffmpeg' |
104 | 109 | run: | |
@@ -189,27 +194,27 @@ jobs: |
189 | 194 | env: |
190 | 195 | MACOS_SIGNING_IDENTITY: ${{ secrets.MACOS_SIGNING_IDENTITY }} |
191 | 196 | run: | |
192 | | - codesign --force --sign "$MACOS_SIGNING_IDENTITY" --timestamp build/bin/Zenfile-${{ matrix.platform.name }}${{ matrix.variant.suffix }}-${{ needs.update-version.outputs.version }}.dmg |
| 197 | + codesign --force --sign "$MACOS_SIGNING_IDENTITY" --timestamp build/darwin/Zenfile-${{ matrix.platform.name }}${{ matrix.variant.suffix }}-${{ needs.update-version.outputs.version }}.dmg |
193 | 198 |
|
194 | 199 | - name: Notarize the DMG |
195 | 200 | env: |
196 | 201 | APPLE_ID: ${{ secrets.APPLE_ID }} |
197 | 202 | APPLE_ID_PASSWORD: ${{ secrets.APPLE_ID_PASSWORD }} |
198 | 203 | APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }} |
199 | 204 | run: | |
200 | | - xcrun notarytool submit build/bin/Zenfile-${{ matrix.platform.name }}${{ matrix.variant.suffix }}-${{ needs.update-version.outputs.version }}.dmg \ |
| 205 | + xcrun notarytool submit build/darwin/Zenfile-${{ matrix.platform.name }}${{ matrix.variant.suffix }}-${{ needs.update-version.outputs.version }}.dmg \ |
201 | 206 | --apple-id "$APPLE_ID" \ |
202 | 207 | --password "$APPLE_ID_PASSWORD" \ |
203 | 208 | --team-id "$APPLE_TEAM_ID" \ |
204 | 209 | --wait |
205 | 210 |
|
206 | | - xcrun stapler staple build/bin/Zenfile-${{ matrix.platform.name }}${{ matrix.variant.suffix }}-${{ needs.update-version.outputs.version }}.dmg |
| 211 | + xcrun stapler staple build/darwin/Zenfile-${{ matrix.platform.name }}${{ matrix.variant.suffix }}-${{ needs.update-version.outputs.version }}.dmg |
207 | 212 |
|
208 | 213 | - name: Upload macOS artifact |
209 | 214 | uses: actions/upload-artifact@v4 |
210 | 215 | with: |
211 | 216 | name: Zenfile-${{ matrix.platform.name }}${{ matrix.variant.suffix }} |
212 | | - path: build/bin/Zenfile-${{ matrix.platform.name }}${{ matrix.variant.suffix }}-${{ needs.update-version.outputs.version }}.dmg |
| 217 | + path: build/darwin/Zenfile-${{ matrix.platform.name }}${{ matrix.variant.suffix }}-${{ needs.update-version.outputs.version }}.dmg |
213 | 218 |
|
214 | 219 | upload-release-assets: |
215 | 220 | needs: [update-version, build-macos] |
|
0 commit comments