Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dcarbone/install-yq-action
Install YQ into the action tool without needing nodejs
https://github.com/dcarbone/install-yq-action
action actions cicd deploy github-action github-actions yq
Last synced: about 2 months ago
JSON representation
Install YQ into the action tool without needing nodejs
- Host: GitHub
- URL: https://github.com/dcarbone/install-yq-action
- Owner: dcarbone
- License: apache-2.0
- Created: 2022-10-13T13:55:46.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-11-04T23:17:06.000Z (about 2 months ago)
- Last Synced: 2024-11-04T23:30:53.288Z (about 2 months ago)
- Topics: action, actions, cicd, deploy, github-action, github-actions, yq
- Language: PowerShell
- Homepage:
- Size: 82 KB
- Stars: 2
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# install-yq-action
Cross-platform [yq](https://github.com/mikefarah/yq) installer composite action[![Tests - Setup YQ Action](https://github.com/dcarbone/install-yq-action/actions/workflows/tests.yaml/badge.svg)](https://github.com/dcarbone/install-yq-action/actions/workflows/tests.yaml)
# Index
1. [Examples](#examples)
2. [Action Source](action.yaml)
3. [Action Inputs](#action-inputs)
4. [Action Outputs](#action-outputs)## Examples
* [linux](./.github/workflows/example-linux.yaml)
* [macos](./.github/workflows/example-macos.yaml)
* [windows](./.github/workflows/example-windows.yaml)## Action Inputs
#### version
```yaml
version:
required: false
description: "Version of YQ to install"
default: "v4.44.3"
```This must be a version with a [corresponding release](https://github.com/mikefarah/yq/releases).
#### download-compressed
```yaml
download-compressed:
required: false
description: "If 'true', downloads .tar.gz of binary rather than raw binary. Save the tubes."
default: 'true'
```#### force
```yaml
force:
required: false
description: "If 'true', does not check for existing yq installation before continuing."
default: 'false'
```GitHub's own hosted runners come with a version of
[yq pre-installed](https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#preinstalled-software).Setting this to `true` will install the version you specify into the tool cache, superseding the preinstalled version.
Setting this to true can also help ensure the same version is used across both self-hosted and remote runners.## Action Outputs
#### found
```yaml
found:
description: "If 'true', yq was already found on this runner"
```#### installed
```yaml
installed:
description: "If 'true', yq was installed by this action"
```