Skip to content

Commit

Permalink
Revert to matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
djperrefort committed Oct 30, 2024
1 parent 1ef4518 commit 54cc2bf
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 40 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/Build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ name: 🤖 Build
on:
workflow_call:
inputs:
versions:
matrix:
type: string
required: true
description: "A JSON list of Slurm versions to build."
description: "The strategy matrix used to build images"

jobs:
build:
Expand All @@ -15,8 +15,7 @@ jobs:

strategy:
fail-fast: false
matrix:
version: ${{ fromJson(inputs.versions) }}
matrix: ${{ fromJson(inputs.matrix) }}

steps:
- name: Test
Expand Down
32 changes: 0 additions & 32 deletions .github/workflows/Setup.yml

This file was deleted.

8 changes: 4 additions & 4 deletions .github/workflows/Temp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ on:
push:

jobs:
setup:
matrix:
name: Matrix
uses: ./.github/workflows/Setup.yml
uses: ./.github/workflows/Matrix.yml

build:
name: Build
needs: [ setup ]
needs: [ matrix ]
uses: ./.github/workflows/Build.yml
with:
versions: ${{ needs.setup.outputs.versions }}
matrix: ${{ needs.matrix.outputs.matrix }}

0 comments on commit 54cc2bf

Please sign in to comment.