Skip to content

Commit dff78d0

Browse files
committed
Merge branch 'master' into v1
2 parents db9a762 + 6b46307 commit dff78d0

File tree

4 files changed

+35
-28
lines changed

4 files changed

+35
-28
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ steps:
2424
- run: crystal spec
2525
```
2626
27-
Also see [.github/workflows/release.yml](.github/workflows/release.yml) as an example.
27+
[Find usages in the wild!](https://github.com/search?l=YAML&q=%22oprypin%2Finstall-crystal%22&type=Code)
2828
29-
Alternatively you can use the container-based approach [as in the starter workflow][crystal-starter] (without this action), but the advantage here is the unified approach to installation across 3 systems.
29+
Alternatively, you can use the container-based approach [as in the starter workflow][crystal-starter] (without this action), but the advantage here is the unified approach to installation across 3 systems.
3030
3131
## Usage
3232

action.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,18 @@
11
name: Install Crystal
22
description: Install Crystal programming language
33
inputs:
4+
crystal:
5+
description: The version of crystal to install ("latest", "nightly", "0.34.0" etc)
6+
arch:
7+
description: The architecture of the build of Crystal ("x86_64")
8+
destination:
9+
description: The directory to store Crystal in
410
token:
511
description: Personal access token (auto-populated)
612
default: ${{ github.token }}
7-
destination:
8-
description: The directory to store Crystal in
13+
outputs:
14+
crystal:
15+
description: The actual version of Crystal that was installed
916
runs:
1017
using: node12
1118
main: index.js

package-lock.json

Lines changed: 22 additions & 22 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@
2626
"homepage": "https://github.com/oprypin/install-crystal",
2727
"dependencies": {
2828
"@actions/core": "^1.2",
29-
"@actions/tool-cache": "^1.3",
30-
"@octokit/request": "^5.4",
29+
"@actions/tool-cache": "^1.5.5",
30+
"@octokit/request": "^5.4.5",
3131
"node-fetch": "^2.6.0"
3232
},
3333
"devDependencies": {

0 commit comments

Comments
 (0)