From 258b2e040f3e81e9e206278b0c90bffa911998cb Mon Sep 17 00:00:00 2001 From: Philip Peterson Date: Fri, 25 Apr 2025 23:59:35 -0700 Subject: [PATCH] matrix wip --- .github/actions/build/action.yml | 6 ++++++ .github/workflows/nodejs.yml | 6 +++++- .github/workflows/release.yml | 4 ++++ 3 files changed, 15 insertions(+), 1 deletion(-) diff --git a/.github/actions/build/action.yml b/.github/actions/build/action.yml index 196b04bb..86db848c 100644 --- a/.github/actions/build/action.yml +++ b/.github/actions/build/action.yml @@ -4,6 +4,12 @@ inputs: node-version: description: 'Node.js version to use' required: true + matrix-name: + description: 'Matrix Name' + required: true + matrix-os: + description: 'Matrix OS' + required: true runs: using: 'composite' steps: diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 2166a86d..02863b7a 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -33,6 +33,8 @@ jobs: uses: ./.github/actions/build with: node-version: ${{ env.NODE_VERSION }} + matrix-os: ubuntu-latest + matrix-name: ubuntu build-macos: name: Build macOS @@ -44,4 +46,6 @@ jobs: - name: Build uses: ./.github/actions/build with: - node-version: ${{ env.NODE_VERSION }} \ No newline at end of file + node-version: ${{ env.NODE_VERSION }} + matrix-os: macos-latest + matrix-name: macos \ No newline at end of file diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 40469af9..e828872c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -32,6 +32,8 @@ jobs: uses: ./.github/actions/build with: node-version: ${{ env.NODE_VERSION }} + matrix-os: ubuntu-latest + matrix-name: ubuntu build-macos: name: Build macOS @@ -44,6 +46,8 @@ jobs: uses: ./.github/actions/build with: node-version: ${{ env.NODE_VERSION }} + matrix-os: macos-latest + matrix-name: macos upload-release: name: Upload and Create Release