Add build matrix #1
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Reusable workflow to build binary packages into S3 bucket | ||
Check failure on line 1 in .github/workflows/call-build-linux-arm-packages.yml GitHub Actions / .github/workflows/call-build-linux-arm-packages.ymlInvalid workflow file
|
||
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) }} | ||