* feat: embed build metadata in generated dotslash files - Add build metadata collection from GitHub Actions environment - Include source config path, CI information, and generation timestamp - Add CI job URL for traceability back to the generating workflow - Support disabling metadata via include-build-metadata input - Update action.yml to expose new input parameter - Add comprehensive documentation with examples Fixes #2 * feat: pass include-build-metadata as argument instead of environment variable - Remove environment variable approach from action.yml - Pass include-build-metadata as command-line argument - Update argument parsing to handle string values ('true'/'false') - Maintain backward compatibility with environment variable fallback Addresses review feedback from @bigfootjon in PR #13
25 lines
668 B
YAML
25 lines
668 B
YAML
name: DotSlash files for GitHub releases
|
|
description: Adds DotSlash files to a GitHub release once artifacts are present
|
|
inputs:
|
|
config:
|
|
description: path to .json file in the repo
|
|
required: true
|
|
tag:
|
|
description: tag identifying the release whose assets should be used
|
|
required: true
|
|
include-build-metadata:
|
|
description: include build metadata in the generated DotSlash files
|
|
required: false
|
|
default: 'true'
|
|
runs:
|
|
using: docker
|
|
image: Dockerfile
|
|
args:
|
|
- '--config'
|
|
- ${{ inputs.config }}
|
|
- '--tag'
|
|
- ${{ inputs.tag }}
|
|
- '--upload'
|
|
- '--include-build-metadata'
|
|
- ${{ inputs.include-build-metadata }}
|