mirror of
https://github.com/elseif/MikroTikPatch.git
synced 2026-09-04 14:35:49 +00:00
modified: .github/workflows/main.yml
This commit is contained in:
53
.github/workflows/main.yml
vendored
53
.github/workflows/main.yml
vendored
@@ -73,7 +73,6 @@ jobs:
|
||||
)
|
||||
')
|
||||
fi
|
||||
echo "CANDIDATES: $CANDIDATES"
|
||||
|
||||
VERSION_FILTER="${{ github.event.inputs.version || 'all' }}"
|
||||
V6_MATRIX=$(echo "$CANDIDATES" | jq -c 'map(select(.majorVersion == "6" ))')
|
||||
@@ -88,30 +87,30 @@ jobs:
|
||||
echo "Upgrades V6: $V6_MATRIX"
|
||||
echo "Upgrades V7: $V7_MATRIX"
|
||||
|
||||
# Patch_V6:
|
||||
# needs: Check_Versions
|
||||
# if: ${{ needs.Check_Versions.outputs.upgrades_v6 != '[]' }}
|
||||
# uses: ./.github/workflows/patch_v6.yml
|
||||
# strategy:
|
||||
# matrix:
|
||||
# target: ${{ fromJson(needs.Check_Versions.outputs.upgrades_v6) }}
|
||||
# fail-fast: false
|
||||
# with:
|
||||
# channel: ${{ matrix.target.channel }}
|
||||
# version: ${{ matrix.target.version }}
|
||||
# release: ${{ github.event_name == 'workflow_dispatch' && inputs.release || github.event_name != 'workflow_dispatch' && true }}
|
||||
# secrets: inherit
|
||||
Patch_V6:
|
||||
needs: Check_Versions
|
||||
if: ${{ needs.Check_Versions.outputs.upgrades_v6 != '[]' }}
|
||||
uses: ./.github/workflows/patch_v6.yml
|
||||
strategy:
|
||||
matrix:
|
||||
target: ${{ fromJson(needs.Check_Versions.outputs.upgrades_v6) }}
|
||||
fail-fast: false
|
||||
with:
|
||||
channel: ${{ matrix.target.channel }}
|
||||
version: ${{ matrix.target.version }}
|
||||
release: ${{ github.event_name == 'workflow_dispatch' && inputs.release || github.event_name != 'workflow_dispatch' && true }}
|
||||
secrets: inherit
|
||||
|
||||
# Patch_V7:
|
||||
# needs: Check_Versions
|
||||
# if: ${{ needs.Check_Versions.outputs.upgrades_v7 != '[]' }}
|
||||
# uses: ./.github/workflows/patch_v7.yml
|
||||
# strategy:
|
||||
# matrix:
|
||||
# target: ${{ fromJson(needs.Check_Versions.outputs.upgrades_v7) }}
|
||||
# fail-fast: false
|
||||
# with:
|
||||
# channel: ${{ matrix.target.channel }}
|
||||
# version: ${{ matrix.target.version }}
|
||||
# release: ${{ github.event_name == 'workflow_dispatch' && inputs.release || github.event_name != 'workflow_dispatch' && true }}
|
||||
# secrets: inherit
|
||||
Patch_V7:
|
||||
needs: Check_Versions
|
||||
if: ${{ needs.Check_Versions.outputs.upgrades_v7 != '[]' }}
|
||||
uses: ./.github/workflows/patch_v7.yml
|
||||
strategy:
|
||||
matrix:
|
||||
target: ${{ fromJson(needs.Check_Versions.outputs.upgrades_v7) }}
|
||||
fail-fast: false
|
||||
with:
|
||||
channel: ${{ matrix.target.channel }}
|
||||
version: ${{ matrix.target.version }}
|
||||
release: ${{ github.event_name == 'workflow_dispatch' && inputs.release || github.event_name != 'workflow_dispatch' && true }}
|
||||
secrets: inherit
|
||||
Reference in New Issue
Block a user