Skip to content

Commit

Permalink
clean up inputs and add strategy
Browse files Browse the repository at this point in the history
  • Loading branch information
joshschmelzle authored Oct 4, 2024
1 parent 7d848f2 commit f80c869
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/sbuild-pkg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,31 @@ on:
inputs:
distro:
description: distro for the package
required: true
required: false
default: [bullseye,bookworm]
type: string
arch:
description: architecture for the package
required: true
required: false
default: [arm64]
type: string
pkg:
description: pkg name
required: true
type: string
version:
description: version for the pkg
description: version for the pkg
required: true
type: string
jobs:
sbuild-pkg:
name: sbuild package
runs-on: "${{ vars.RUNS_ON || 'ubuntu-22.04' }}"
strategy:
fail-fast: false
matrix:
distro: ${{ inputs.distro }}
arch: ${{ inputs.arch }}
steps:
- name: Check if inputs all exist and are not empty
run: |
Expand Down

0 comments on commit f80c869

Please sign in to comment.