feat: add empty option guard and minor cleanup
This commit is contained in:
17 files changed
+34
-4
No files matched your search
@@ -8,11 +8,13 @@ on:
|
||||
required: true
|
||||
type: choice
|
||||
options:
|
||||
- ''
|
||||
- 'iso'
|
||||
- 'dmg'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
if: ${{ inputs.image_format != '' }}
|
||||
uses: ./.github/workflows/build-macos-template.yml
|
||||
with:
|
||||
macos_version: 'Big Sur'
|
||||
|
||||
@@ -8,11 +8,13 @@ on:
|
||||
required: true
|
||||
type: choice
|
||||
options:
|
||||
- ''
|
||||
- 'iso'
|
||||
- 'dmg'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
if: ${{ inputs.image_format != '' }}
|
||||
uses: ./.github/workflows/build-macos-template.yml
|
||||
with:
|
||||
macos_version: 'Catalina'
|
||||
|
||||
@@ -8,11 +8,13 @@ on:
|
||||
required: true
|
||||
type: choice
|
||||
options:
|
||||
- ''
|
||||
- 'iso'
|
||||
- 'dmg'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
if: ${{ inputs.image_format != '' }}
|
||||
uses: ./.github/workflows/build-macos-template.yml
|
||||
with:
|
||||
macos_version: 'El Capitan'
|
||||
|
||||
@@ -8,11 +8,13 @@ on:
|
||||
required: true
|
||||
type: choice
|
||||
options:
|
||||
- ''
|
||||
- 'iso'
|
||||
- 'dmg'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
if: ${{ inputs.image_format != '' }}
|
||||
uses: ./.github/workflows/build-macos-template.yml
|
||||
with:
|
||||
macos_version: 'High Sierra'
|
||||
|
||||
@@ -8,11 +8,13 @@ on:
|
||||
required: true
|
||||
type: choice
|
||||
options:
|
||||
- ''
|
||||
- 'iso'
|
||||
- 'dmg'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
if: ${{ inputs.image_format != '' }}
|
||||
uses: ./.github/workflows/build-macos-template.yml
|
||||
with:
|
||||
macos_version: 'Lion'
|
||||
|
||||
@@ -8,11 +8,13 @@ on:
|
||||
required: true
|
||||
type: choice
|
||||
options:
|
||||
- ''
|
||||
- 'iso'
|
||||
- 'dmg'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
if: ${{ inputs.image_format != '' }}
|
||||
uses: ./.github/workflows/build-macos-template.yml
|
||||
with:
|
||||
macos_version: 'Mavericks'
|
||||
|
||||
@@ -8,11 +8,13 @@ on:
|
||||
required: true
|
||||
type: choice
|
||||
options:
|
||||
- ''
|
||||
- 'iso'
|
||||
- 'dmg'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
if: ${{ inputs.image_format != '' }}
|
||||
uses: ./.github/workflows/build-macos-template.yml
|
||||
with:
|
||||
macos_version: 'Mojave'
|
||||
|
||||
@@ -8,11 +8,13 @@ on:
|
||||
required: true
|
||||
type: choice
|
||||
options:
|
||||
- ''
|
||||
- 'iso'
|
||||
- 'dmg'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
if: ${{ inputs.image_format != '' }}
|
||||
uses: ./.github/workflows/build-macos-template.yml
|
||||
with:
|
||||
macos_version: 'Monterey'
|
||||
|
||||
@@ -8,11 +8,13 @@ on:
|
||||
required: true
|
||||
type: choice
|
||||
options:
|
||||
- ''
|
||||
- 'iso'
|
||||
- 'dmg'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
if: ${{ inputs.image_format != '' }}
|
||||
uses: ./.github/workflows/build-macos-template.yml
|
||||
with:
|
||||
macos_version: 'Mountain Lion'
|
||||
|
||||
@@ -8,6 +8,7 @@ on:
|
||||
required: true
|
||||
type: choice
|
||||
options:
|
||||
- ''
|
||||
- 'Tahoe'
|
||||
- 'Sequoia'
|
||||
- 'Sonoma'
|
||||
@@ -24,6 +25,7 @@ on:
|
||||
|
||||
jobs:
|
||||
build-recovery-iso:
|
||||
if: ${{ inputs.macos_version != '' }}
|
||||
runs-on: macos-latest
|
||||
permissions:
|
||||
contents: write # needed to create releases
|
||||
@@ -147,8 +149,6 @@ jobs:
|
||||
|
||||
echo "Compressing ISO with zip..."
|
||||
zip -j "$ZIP_FILE" "$ISO_FILE"
|
||||
|
||||
COMPRESSED_SIZE=$(du -h "$ZIP_FILE" | cut -f1)
|
||||
echo "compressed_file=$ZIP_FILE" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Upload Recovery ISO artifact
|
||||
|
||||
@@ -8,11 +8,13 @@ on:
|
||||
required: true
|
||||
type: choice
|
||||
options:
|
||||
- ''
|
||||
- 'iso'
|
||||
- 'dmg'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
if: ${{ inputs.image_format != '' }}
|
||||
uses: ./.github/workflows/build-macos-template.yml
|
||||
with:
|
||||
macos_version: 'Sequoia'
|
||||
|
||||
@@ -8,11 +8,13 @@ on:
|
||||
required: true
|
||||
type: choice
|
||||
options:
|
||||
- ''
|
||||
- 'iso'
|
||||
- 'dmg'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
if: ${{ inputs.image_format != '' }}
|
||||
uses: ./.github/workflows/build-macos-template.yml
|
||||
with:
|
||||
macos_version: 'Sierra'
|
||||
|
||||
@@ -8,11 +8,13 @@ on:
|
||||
required: true
|
||||
type: choice
|
||||
options:
|
||||
- ''
|
||||
- 'iso'
|
||||
- 'dmg'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
if: ${{ inputs.image_format != '' }}
|
||||
uses: ./.github/workflows/build-macos-template.yml
|
||||
with:
|
||||
macos_version: 'Sonoma'
|
||||
|
||||
@@ -8,11 +8,13 @@ on:
|
||||
required: true
|
||||
type: choice
|
||||
options:
|
||||
- ''
|
||||
- 'iso'
|
||||
- 'dmg'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
if: ${{ inputs.image_format != '' }}
|
||||
uses: ./.github/workflows/build-macos-template.yml
|
||||
with:
|
||||
macos_version: 'Tahoe'
|
||||
|
||||
@@ -8,11 +8,13 @@ on:
|
||||
required: true
|
||||
type: choice
|
||||
options:
|
||||
- ''
|
||||
- 'iso'
|
||||
- 'dmg'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
if: ${{ inputs.image_format != '' }}
|
||||
uses: ./.github/workflows/build-macos-template.yml
|
||||
with:
|
||||
macos_version: 'Ventura'
|
||||
|
||||
@@ -8,11 +8,13 @@ on:
|
||||
required: true
|
||||
type: choice
|
||||
options:
|
||||
- ''
|
||||
- 'iso'
|
||||
- 'dmg'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
if: ${{ inputs.image_format != '' }}
|
||||
uses: ./.github/workflows/build-macos-template.yml
|
||||
with:
|
||||
macos_version: 'Yosemite'
|
||||
|
||||
@@ -7,13 +7,13 @@ on:
|
||||
jobs:
|
||||
refresh-forks:
|
||||
if: github.repository_owner == 'LongQT-sea' # Be mindful of free public resources
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-slim
|
||||
permissions:
|
||||
contents: write # needed to create releases
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v6
|
||||
|
||||
- name: Fetch fork data
|
||||
id: fetch_forks
|
||||
|
||||
Reference in new issue
Block a user