Skip to content

Commit 376f85e

Browse files
committed
fix: env variable expansion on windows
1 parent 2ab8db6 commit 376f85e

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/test_docker.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,10 +101,18 @@ jobs:
101101
password: ${{ secrets.PYANSYS_CI_BOT_TOKEN }}
102102

103103
- name: Download DPF docker container
104+
if: runner.os == 'Linux'
104105
env:
105106
IMAGE_NAME: ${{ env.DPF_DOCKER }}
106107
run: |
107-
docker pull $IMAGE_NAME
108+
docker pull "$IMAGE_NAME"
109+
110+
- name: Download DPF docker container
111+
if: runner.os == 'Windows'
112+
env:
113+
IMAGE_NAME: ${{ env.DPF_DOCKER }}
114+
run: |
115+
docker pull "$env:IMAGE_NAME"
108116
109117
- name: "Check licences of packages"
110118
uses: ansys/pydpf-actions/[email protected]

0 commit comments

Comments
 (0)