Skip to content

feat: make Full variant opt-in on automated releases #4

Description

@dubpixel

Problem

The release matrix currently builds both lite and full variants on every automated Buttons version bump, doubling CI time (~2.5 hrs per full build × boards).

Proposed Solution

Add a build-full boolean input to release-action.yaml. The automated daily cron only builds lite. full is only built when explicitly requested via workflow_dispatch with build-full: true.

# release-action.yaml — workflow_dispatch inputs
build-full:
  description: 'Also build Full variant images (Buttons + Satellite + Companion)'
  required: false
  default: 'false'
  type: boolean

Then wrap the full entry in the matrix with an if or use a dynamic matrix via fromJSON.

Files to change

  • .github/workflows/release-action.yaml — add input, conditional matrix

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions