docs: render GIF inside expandable details section

This commit is contained in:
LongQT-sea committed 2025-12-28 00:48:39 +07:00
1 parent 9740280009
commit 1f41cca063
2 files changed
+10 -5

No files matched your search

+4 -4
View File
@@ -32,7 +32,7 @@ on:
- 'dmg'
jobs:
build-installer:
build-macos-installer-image:
runs-on: macos-15-intel
timeout-minutes: 70
@@ -56,7 +56,7 @@ jobs:
continue-on-error: true
run: |
if [ "${{ github.event.inputs.image_format }}" == "iso" ]; then
sudo bash mkmaciso "${{ github.event.inputs.macos_version }}"
sudo bash mkmaciso "${{ github.event.inputs.macos_version }}" iso
echo "image_name=$(basename *.iso)" >> $GITHUB_OUTPUT
else
sudo bash mkmaciso "${{ github.event.inputs.macos_version }}" dmg
@@ -64,7 +64,7 @@ jobs:
fi
- name: Upload ISO artifact
if: github.event.inputs.image_format == 'iso'
if: github.event.inputs.image_format == 'iso' && steps.create_image.outcome == 'success'
uses: actions/upload-artifact@v5
with:
name: ${{ steps.create_image.outputs.image_name }}
@@ -73,7 +73,7 @@ jobs:
retention-days: 7
- name: Upload DMG artifact
if: github.event.inputs.image_format == 'dmg'
if: github.event.inputs.image_format == 'dmg' && steps.create_image.outcome == 'success'
uses: actions/upload-artifact@v5
with:
name: ${{ steps.create_image.outputs.image_name }}
+6 -1
View File
@@ -24,7 +24,12 @@ curl -s https://raw.githubusercontent.com/LongQT-sea/macos-iso-builder/main/mkma
## Usage
> [!TIP]
> Here is a GIF showing how to complete steps 1–7: [.github/how_to_fork_and_run_workflow.gif](https://github.com/LongQT-sea/macos-iso-builder/blob/main/.github/how_to_fork_and_run_workflow.gif)
> <details>
> <summary>Click here to watch a GIF showing how to complete steps 1–7</summary>
>
> ![How to fork and run workflow](https://raw.githubusercontent.com/LongQT-sea/macos-iso-builder/main/.github/how_to_fork_and_run_workflow.gif)
>
> </details>
1. **Fork** this repository (requires a GitHub account).
2. Navigate to the **Actions** tab in your forked repository.