Skip to content

Commit d459315

Browse files
committed
fix outdated calcit command
1 parent 5465eb9 commit d459315

2 files changed

Lines changed: 5 additions & 15 deletions

File tree

.github/workflows/upload.yaml

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -17,23 +17,13 @@ jobs:
1717
node-version: 20
1818
cache: 'yarn'
1919

20-
- uses: supplypike/setup-bin@v3
21-
with:
22-
uri: 'https://github.com/calcit-lang/calcit/releases/download/0.8.14/cr'
23-
name: 'cr'
24-
version: '0.8.14'
25-
26-
- uses: supplypike/setup-bin@v3
27-
with:
28-
uri: 'https://github.com/calcit-lang/calcit/releases/download/0.8.14/caps'
29-
name: 'caps'
30-
version: '0.8.14'
20+
- uses: calcit-lang/setup-cr@0.0.8
3121

32-
- run: caps --ci && cr --entry server --emit-ir -1
22+
- run: caps --ci && cr --entry server -1 ir
3323

3424
- run: yarn && yarn compile-page && yarn release-page
3525

36-
- run: mkdir -p dist-server && cp -v compact.cirru package.cirru package.json dist-server/
26+
- run: mkdir -p dist-server && cp -v compact.cirru deps.cirru package.json dist-server/
3727
name: Copy server scripts
3828

3929
- name: Upload web assets

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
"description": "Cumulo Workflow",
55
"main": "index.js",
66
"scripts": {
7-
"compile-page": "cr --emit-js --once",
7+
"compile-page": "cr --once js",
88
"release-page": "vite build --base=./",
9-
"watch-page": "cr --emit-js/"
9+
"watch-page": "cr js"
1010
},
1111
"repository": {
1212
"type": "git",

0 commit comments

Comments
 (0)