GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — github-workflows/.github/actions/install-yq/action.yml at main · jitsucom/github-workflows

Expand file tree

/

action.yml

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
30 lines (28 loc) · 1.07 KB
/

action.yml

Copy path

File metadata and controls

30 lines (28 loc) · 1.07 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: Install yq
description: Install the yq CLI (mikefarah/yq) with a pinned version + sha256 checksum.
inputs:
version:
description: "yq version (without leading 'v'), e.g. 4.53.2."
required: false
default: "4.53.2"
sha256:
description: "Expected sha256 of the linux_amd64 binary. Lookup at https://github.com/mikefarah/yq/releases/download/v<version>/checksums (SHA-256 row — see checksums_hashes_order)."
required: false
default: "d56bf5c6819e8e696340c312bd70f849dc1678a7cda9c2ad63eebd906371d56b"
runs:
using: composite
steps:
- name: Install yq
shell: bash
env:
VERSION: ${{ inputs.version }}
SHA256: ${{ inputs.sha256 }}
run: |
set -eu
# Pinned + checksum-verified so a compromised release can't silently swap the binary.
URL="https://github.com/mikefarah/yq/releases/download/v${VERSION}/yq_linux_amd64"
curl -fsSL -o /tmp/yq "$URL"
echo "${SHA256} /tmp/yq" | sha256sum -c -
sudo install -m 0755 /tmp/yq /usr/local/bin/yq
rm -f /tmp/yq
yq --version
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.