GitHub Actions Integration
GitHub Actions workflows can publish releases into Big Picture automatically. This integration enables artifact registration, release creation, and multi-platform builds using GitHub Actions workflows.
Overview
Section titled “Overview”GitHub Actions integration uses workflow YAML files to automate Big Picture release publishing. Workflows can trigger on Git tags, push events, or manual dispatch. The integration supports external artifact references and managed artifact storage.
Prerequisites
Section titled “Prerequisites”- Service account — Create a Big Picture service account with
ci:writeandartifacts:writescopes - GitHub secrets — Store API token as
BP_API_TOKENsecret - Configuration — Set
BP_BASE_URLandBP_PRODUCT_IDas secrets or workflow variables
Basic Workflow Pattern
Section titled “Basic Workflow Pattern”GitHub Actions workflows follow this pattern:
- Checkout code — Check out repository code
- Build artifacts — Build installers or packages
- Register artifacts — Register artifacts with Big Picture
- Create release — Create release referencing artifacts
Common Use Cases
Section titled “Common Use Cases”Tag-Based Releases
Section titled “Tag-Based Releases”Workflows trigger on Git tags (e.g., v1.0.0) and publish releases automatically:
on: push: tags: - 'v*'Multi-Platform Releases
Section titled “Multi-Platform Releases”Workflows build artifacts for Windows, macOS, and Linux in parallel jobs, then create a single release.
Managed Artifact Storage
Section titled “Managed Artifact Storage”Workflows upload artifacts to Big Picture managed storage instead of referencing external URLs.
Integration Points
Section titled “Integration Points”- Artifact registration — Register artifacts via
/v1/artifactsendpoint - Managed uploads — Upload artifacts via
/v1/artifacts/uploadsendpoints - Release creation — Create releases via
/v1/releasesendpoint - Error handling — Handle API errors and retry logic
Configuration
Section titled “Configuration”Store Big Picture credentials as GitHub secrets:
BP_API_TOKEN— Service account API tokenBP_BASE_URL— Big Picture API base URL (optional, defaults to SaaS)BP_PRODUCT_ID— Product ID (optional, can be in workflow)
Next Steps
Section titled “Next Steps”Detailed step-by-step guides for GitHub Actions integration are planned. These guides will include:
- Complete workflow examples for single and multi-platform releases
- Managed artifact upload workflows
- Error handling and retry patterns
- Best practices for workflow design
For now, see the CI/CD Integration overview for general integration patterns.
Related Documentation
Section titled “Related Documentation”- CI/CD Integration — General CI/CD integration patterns
- Reference: API Overview — API documentation