Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 20 additions & 1 deletion .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,25 @@ on:
required: true
type: string

workflow_dispatch:
inputs:
runs-on:
description: 'The runner environment for the job (e.g., ubuntu-latest, windows-latest).'
required: false
type: string
default: 'ubuntu-latest'

arch:
description: 'The architecture to target (e.g., "x64").'
required: false
type: string
default: 'x64'

ref:
description: 'The Git ref to checkout.'
required: true
type: string

jobs:
get-configs:
uses: ./.github/workflows/configs.yml
Expand All @@ -37,7 +56,7 @@ jobs:
shell: bash
run: echo "Building from branch=$(git rev-parse --abbrev-ref HEAD), commit=$(git rev-parse HEAD), tag=$(git describe --tags --exact-match)"

- name: Setup Node.js ${{ needs.get-configs.outputs.node-version }} (${{ runner.os }}-${{ runner.arch }})
- name: Setup Node.js ${{ needs.get-configs.outputs.node-version }} (${{ runner.os }}-${{ inputs.arch }})
uses: actions/setup-node@v4
with:
node-version: ${{ needs.get-configs.outputs.node-version }}
Expand Down
Loading