nihaiden/Fetch RPM from GitHub release
Download an RPM asset from a GitHub release, matching the current architecture and a configurable regex.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| release-url | Full GitHub release URL (e.g. https://github.com/owner/repo/releases/tag/v1.2.3). If set, repository/tag are auto-derived unless explicitly provided. | no | — |
| repository | GitHub repository in owner/repo format. | no | — |
| tag | Release tag. If omitted, latest release is used. | no | — |
| token | GitHub token used for API requests and private repositories. | no | ${{ github.token }} |
| asset-regex | Regex used to match release asset names. Supports {arch} placeholder. | no | ^(?!.*\.src\.rpm$).*{arch}.*\.rpm$ |
| regex-flags | Regex flags for asset-regex (e.g. i, im). | no | i |
| arch | Override architecture (e.g. x86_64, aarch64). Defaults to RUNNER_ARCH / Node architecture. | no | — |
| download-dir | Directory where the RPM should be downloaded. | no | . |
| file-name | Output filename. Defaults to <repo>.rpm. | no | — |
Outputs
| name | description |
|---|---|
| file-path | Absolute path to the downloaded RPM file. |
| asset-name | Original release asset name that was downloaded. |
| release-tag | Resolved release tag. |
| repository | Resolved repository in owner/repo format. |
| arch | Resolved normalized architecture. |
| matched-arch | Architecture token that matched the selected asset. |