Skip to content

Add build matrix

Add build matrix #1

name: Reusable workflow to build binary packages into S3 bucket

Check failure on line 1 in .github/workflows/call-build-linux-arm-packages.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/call-build-linux-arm-packages.yml

Invalid workflow file

No steps defined in `steps` and no workflow called in `uses` for the following jobs: build-valkey
on:
workflow_call:
inputs:
version:
description: The version of Fluent Bit to create.
type: string
required: true
ref:
description: The commit, tag or branch of Fluent Bit to checkout for building that creates the version above.
type: string
required: true
build_matrix:
description: The build targets to produce as a JSON matrix.
type: string
required: true
secrets:
token:
description: The Github token or similar to authenticate with.
required: true
bucket:
description: The name of the S3 (US-East) bucket to push packages into.
required: false
access_key_id:
description: The S3 access key id for the bucket.
required: false
secret_access_key:
description: The S3 secret access key for the bucket.
required: false
jobs:
build-valkey:
# Capture source tarball and generate checksum for it
name: Build ${{ matrix.distro.target }} ${{ matrix.distro.arch }}
runs-on: ${{ (contains(matrix.distro.arch, 'arm' ) && (github.repository == 'valkey-io/valkey') && 'actuated-arm64-8cpu-16gb') || 'ubuntu-latest' }}
permissions:
contents: read
strategy:
fail-fast: false
matrix: ${{ fromJSON(inputs.build_matrix) }}