mirror of
https://github.com/elseif/MikroTikPatch.git
synced 2026-09-07 02:24:44 +00:00
modified: .github/workflows/main.yml
This commit is contained in:
59
.github/workflows/main.yml
vendored
59
.github/workflows/main.yml
vendored
@@ -86,33 +86,36 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
echo "upgrades_v6=$V6_MATRIX" >> $GITHUB_OUTPUT
|
echo "upgrades_v6=$V6_MATRIX" >> $GITHUB_OUTPUT
|
||||||
echo "upgrades_v7=$V7_MATRIX" >> $GITHUB_OUTPUT
|
echo "upgrades_v7=$V7_MATRIX" >> $GITHUB_OUTPUT
|
||||||
echo "Upgrades V6: $V6_MATRIX"
|
echo "=== Upgrades V6 ==="
|
||||||
echo "Upgrades V7: $V7_MATRIX"
|
echo "$V6_MATRIX" | jq .
|
||||||
|
|
||||||
# Patch_V6:
|
echo "=== Upgrades V7 ==="
|
||||||
# needs: Check_Versions
|
echo "$V7_MATRIX" | jq .
|
||||||
# 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:
|
Patch_V6:
|
||||||
# needs: Check_Versions
|
needs: Check_Versions
|
||||||
# if: ${{ needs.Check_Versions.outputs.upgrades_v7 != '[]' }}
|
if: ${{ needs.Check_Versions.outputs.upgrades_v6 != '[]' }}
|
||||||
# uses: ./.github/workflows/patch_v7.yml
|
uses: ./.github/workflows/patch_v6.yml
|
||||||
# strategy:
|
strategy:
|
||||||
# matrix:
|
matrix:
|
||||||
# target: ${{ fromJson(needs.Check_Versions.outputs.upgrades_v7) }}
|
target: ${{ fromJson(needs.Check_Versions.outputs.upgrades_v6) }}
|
||||||
# fail-fast: false
|
fail-fast: false
|
||||||
# with:
|
with:
|
||||||
# channel: ${{ matrix.target.channel }}
|
channel: ${{ matrix.target.channel }}
|
||||||
# version: ${{ matrix.target.version }}
|
version: ${{ matrix.target.version }}
|
||||||
# release: ${{ github.event_name == 'workflow_dispatch' && inputs.release || github.event_name != 'workflow_dispatch' && true }}
|
release: ${{ github.event_name == 'workflow_dispatch' && inputs.release || github.event_name != 'workflow_dispatch' && true }}
|
||||||
# secrets: inherit
|
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