Skip to content

Commit 59bd546

Browse files
committed
ch
1 parent bafc22f commit 59bd546

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/check-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828

2929
- name: Install pytorch
3030
run: |
31-
if [[ "${{ matrix.torch }}" == "main" ]]; then
31+
if [ "${{ matrix.torch }}" = "main" ]; then
3232
python -m pip install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cpu
3333
else
3434
echo "install torch==${{ matrix.torch }}"
@@ -37,7 +37,7 @@ jobs:
3737
3838
- name: Install transformers ${{ matrix.transformers }}
3939
run: |
40-
if [[ "${{ matrix.transformers }}" == "main" ]]; then
40+
if [ "${{ matrix.transformers }}" = "main" ]; then
4141
echo "install transformers from github"
4242
git clone https://github.com/huggingface/transformers.git
4343
cd transformers

0 commit comments

Comments
 (0)