Skip to content

Commit

Permalink
yep_these_cant_exist_together
Browse files Browse the repository at this point in the history
Signed-off-by: Collin Charvat <c3charvat@gmail.com>
  • Loading branch information
c3charvat committed Oct 8, 2024
1 parent 3833524 commit 6e770c8
Showing 1 changed file with 0 additions and 35 deletions.
35 changes: 0 additions & 35 deletions .github/workflows/example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,41 +79,6 @@ jobs:
# IMPORTANT If the surrounding workflow is a reusable workflow itself, append ', ${{ inputs.workflow-context }}'
workflow-context: build-with-reusable-workflow-with-matrix, ${{ toJSON(matrix) }}

build-with-reusable-workflow-with-matrix-inputs:
strategy:
fail-fast: false
matrix:
inputs: [
{id: '1.1', input_1: 'In_this_input_we_are_testing_very_very_very_long_strings', input_2: 'In_this_input_we_are_testing_very_very_very_long_strings'},
{id: '1.1', input_1: 'In_this_input_we_are_testing_very_very_very_long_strings', input_2: 'In_this_input_we_are_testing_very_very_very_long_strings'},
{id: '1.1', input_1: 'In_this_input_we_are_testing_very_very_very_long_strings', input_2: 'In_this_input_we_are_testing_very_very_very_long_string'},
{id: '1.2', input_1: 'Example', input_2: 'In_this_input_we_are_testing_very_very_very_long_strings'},
{id: '1.3', input_2: 'In_this_input_we_are_testing_very_very_very_long_strings'},]
uses: ./.github/workflows/example-reusable-from-matrix.yml
with:
id: ${{matrix.inputs.id}} # Id to seperate the different runs
input_2: ${{matrix.inputs.input_2}}
input_1: ${{matrix.inputs.input_1}}
workflow-context: build-with-reusable-workflow-with-matrix-inputs, ${{ toJSON(matrix) }}

build-with-reusable-workflow-with-limit:
strategy:
max-parallel: 2
fail-fast: false
matrix:
inputs: [
{id: '2.1', input_1: 'In_this_input_we_are_testing_very_very_very_long_strings', input_2: 'In_this_input_we_are_testing_very_very_very_long_strings'},
{id: '2.1', input_1: 'In_this_input_we_are_testing_very_very_very_long_strings', input_2: 'In_this_input_we_are_testing_very_very_very_long_strings'},
{id: '2.1', input_1: 'In_this_input_we_are_testing_very_very_very_long_strings', input_2: 'In_this_input_we_are_testing_very_very_very_long_string'},
{id: '2.2', input_1: 'Example', input_2: 'In_this_input_we_are_testing_very_very_very_long_strings'},
{id: '2.3', input_2: 'In_this_input_we_are_testing_very_very_very_long_strings'},]
uses: ./.github/workflows/example-reusable-from-matrix.yml
with:
id: ${{matrix.inputs.id}} # Id to seperate the different runs
input_2: ${{matrix.inputs.input_2}}
input_1: ${{matrix.inputs.input_1}}
workflow-context: build-with-reusable-workflow-with-limit, ${{ toJSON(matrix) }}

build-with-reusable-workflow-nested:
uses: ./.github/workflows/example-reusable-nested.yml
with:
Expand Down

0 comments on commit 6e770c8

Please sign in to comment.