forked from dcarbone/install-yq-action
-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (33 loc) · 950 Bytes
/
example-windows.yaml
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
31
32
33
34
35
36
name: "Setup YQ Example - Linux"
on:
workflow_dispatch:
inputs:
version:
type: string
required: false
description: "Version of YQ to install"
default: "v4.35.1"
download-compressed:
type: boolean
required: false
description: "Download .tar.gz of binary rather than raw binary. Save the tubes."
default: true
force:
type: boolean
required: false
description: "Do not check for existing yq installation before continuing."
default: false
jobs:
example:
runs-on: windows-latest
steps:
- name: 'Setup yq'
uses: dcarbone/[email protected]
with:
version: '${{ inputs.version }}'
download-compressed: '${{ inputs.download-compressed }}'
force: '${{ inputs.force }}'
- name: 'Check yq'
run: |
Get-Command "yq.exe"
yq.exe --version