Skip to content

Commit

Permalink
Rename matrix to versions
Browse files Browse the repository at this point in the history
  • Loading branch information
djperrefort committed Oct 30, 2024
1 parent 6891085 commit b7ca9e4
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/Build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: 🤖 Build
on:
workflow_call:
inputs:
matrix:
versions:
type: string
required: true
description: "A JSON list of Slurm versions to build."
Expand All @@ -16,7 +16,7 @@ jobs:
strategy:
fail-fast: false
matrix:
version: ${{ fromJson(inputs.matrix) }}
version: ${{ fromJson(inputs.versions) }}

steps:
- name: Test
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/Setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@ name: 🤖 Setup
on:
workflow_call:
outputs:
matrix:
versions:
description: "A JSON list of Slurm versions to build."
value: ${{ jobs.matrix.outputs.matrix }}
value: ${{ jobs.load.outputs.versions }}

jobs:
matrix:
load:
name: Load Slurm Versions
runs-on: ubuntu-latest

outputs:
matrix: ${{ steps.build-array.outputs.versions }}
versions: ${{ steps.build-array.outputs.versions }}

steps:
- name: Checkout source
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/Temp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ jobs:
needs: [ setup ]
uses: ./.github/workflows/Build.yml
with:
matrix: ${{ needs.setup.outputs.matrix }}
versions: ${{ needs.setup.outputs.versions }}

0 comments on commit b7ca9e4

Please sign in to comment.