Skip to content

Commit 2ac6e52

Browse files
committed
update CI script
1 parent cf35b6c commit 2ac6e52

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

.github/workflows/check.yaml

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,17 @@ jobs:
1313
steps:
1414
- uses: actions/checkout@v3
1515

16-
- name: ACTIONS_ALLOW_UNSECURE_COMMANDS
17-
id: ACTIONS_ALLOW_UNSECURE_COMMANDS
18-
run: echo 'ACTIONS_ALLOW_UNSECURE_COMMANDS=true' >> $GITHUB_ENV
19-
20-
- name: add cr
21-
run: |
22-
mkdir -p $GITHUB_WORKSPACE/bin
23-
wget -O $GITHUB_WORKSPACE/bin/cr https://github.com/calcit-lang/calcit/releases/download/0.6.19/cr
24-
chmod +x $GITHUB_WORKSPACE/bin/cr
25-
echo "::add-path::$GITHUB_WORKSPACE/bin"
16+
- uses: supplypike/setup-bin@v3
17+
with:
18+
uri: 'https://github.com/calcit-lang/calcit/releases/download/0.6.23/cr'
19+
name: 'cr'
20+
version: '0.6.23'
21+
22+
- uses: supplypike/setup-bin@v3
23+
with:
24+
uri: 'https://github.com/calcit-lang/calcit/releases/download/0.6.23/caps'
25+
name: 'caps'
26+
version: '0.6.23'
2627

2728
- uses: actions-rs/toolchain@v1
2829
with:

0 commit comments

Comments
 (0)