-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaction.yml
More file actions
29 lines (26 loc) · 805 Bytes
/
action.yml
File metadata and controls
29 lines (26 loc) · 805 Bytes
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
name: Setup Jelly CLI
description: Download Jelly CLI and add it to PATH
inputs:
version:
description: Version of Jelly CLI to install
default: "latest"
token:
description: GitHub token for finding the latest release
default: ${{ github.token }}
runs:
using: composite
steps:
- name: Setup Jelly CLI (Unix-like)
if: runner.os == 'Linux' || runner.os == 'macOS'
shell: bash
env:
GITHUB_TOKEN: ${{ inputs.token }}
INPUT_VERSION: ${{ inputs.version }}
run: $GITHUB_ACTION_PATH/unix-like.sh
- name: Setup Jelly CLI (Windows)
if: runner.os == 'Windows'
shell: pwsh
env:
GITHUB_TOKEN: ${{ inputs.token }}
INPUT_VERSION: ${{ inputs.version }}
run: '& $env:GITHUB_ACTION_PATH\windows.ps1'