Skip to content

Commit d79c891

Browse files
committed
new option for bundler; tag 0.0.4
1 parent 2392b68 commit d79c891

File tree

6 files changed

+19
-5
lines changed

6 files changed

+19
-5
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,15 @@ basic usages:
44

55
- `cr` command
66
- `caps` command
7+
- `bundle_calcit` command, when `bundler` is set to `true`
78

89
### Usage
910

1011
```yml
11-
- uses: calcit-lang/[email protected].3
12+
- uses: calcit-lang/[email protected].4
1213
with:
1314
version: "0.9.1"
15+
bundler: false
1416
```
1517
1618
Calcit latest: ![Calcit Version](https://img.shields.io/github/v/release/calcit-lang/calcit)

action.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,13 @@ name: setup-cr
33
description: Setup Calcit runner
44
inputs:
55
version:
6-
description: Version of Calcit install
6+
description: "Version of Calcit to install"
77
required: true
8-
default: 0.8.38
8+
default: 0.9.2
9+
bundler:
10+
description: "download calcit bunder_command"
11+
required: false
12+
default: false
913

1014
runs:
1115
using: node20

dist/index.js

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

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

index.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ const core = require("@actions/core");
44
const tc = require("@actions/tool-cache");
55

66
const version = core.getInput("version");
7+
const bundler = core.getInput("bundler");
78

89
const binFolder = `/home/runner/bin/`;
910

@@ -31,4 +32,7 @@ if (require.main === module) {
3132
console.log(`Setting up Calcit ${version}`);
3233
setup("cr");
3334
setup("caps");
35+
if (bundler) {
36+
setup("bundle_calcit");
37+
}
3438
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "setup-cr",
3-
"version": "0.0.3",
3+
"version": "0.0.4",
44
"description": "Setup Calcit runtime",
55
"main": "./index.js",
66
"repository": "[email protected]:calcit-lang/setup-cr.git",

0 commit comments

Comments
 (0)