Skip to content

Commit bb5cf1f

Browse files
committed
add check
1 parent dc33a3f commit bb5cf1f

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

.github/workflows/check.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,24 @@ jobs:
4949
if [ "$CML_VER" != '0.3.0' ]; then
5050
exit 1
5151
fi
52+
- name: local action with git url
53+
uses: ./
54+
with:
55+
version: 'git://github.com:iterative/cml.git#6a387a23650f20fd5eb81bc0f63a9bfc6f98882e'
56+
- name: test CML specific version
57+
if: matrix.system != 'windows-latest'
58+
run: |
59+
CML_VER="$(cml-publish --version 2>&1)"
60+
if [ "$CML_VER" != '0.8.1' ]; then
61+
exit 1
62+
fi
5263
- name: local action with defaults
5364
uses: ./
5465
- name: test CML latest version
5566
if: matrix.system != 'windows-latest'
5667
run: |
5768
CML_VER="$(cml-publish --version 2>&1)"
58-
if [ "$CML_VER" == '0.3.0' ]; then
69+
if [ "$CML_VER" == '0.8.1' ]; then
5970
exit 1
6071
fi
6172
- name: test CML

0 commit comments

Comments
 (0)