Skip to content
This repository was archived by the owner on Oct 6, 2025. It is now read-only.

Commit 69e9694

Browse files
committed
Install docker model plugin in Windows
1 parent acb7170 commit 69e9694

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/e2e-tests.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,13 +57,23 @@ jobs:
5757
- name: Set up Docker
5858
uses: docker/setup-docker-action@v4
5959

60-
- name: Install model-cli as Docker plugin
60+
- name: Install model-cli as Docker plugin (Linux/macOS)
61+
if: runner.os != 'Windows'
6162
shell: bash
6263
run: |
6364
echo "Installing model-cli as Docker plugin..."
6465
make install
6566
echo "Installation completed successfully"
6667
68+
- name: Install model-cli as Docker plugin (Windows)
69+
if: runner.os == 'Windows'
70+
run: |
71+
set PLUGIN_DIR=%ProgramData%\Docker\cli-plugins
72+
mkdir "%PLUGIN_DIR%" || echo already exists
73+
make install
74+
dir "%PLUGIN_DIR%"
75+
shell: cmd
76+
6777
- name: Test docker model version
6878
shell: bash
6979
run: |

0 commit comments

Comments
 (0)