Skip to content

Commit 70993ec

Browse files
Try to fix wsl
Signed-off-by: Yury-Fridlyand <[email protected]>
1 parent 852a692 commit 70993ec

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.github/workflows/install-server/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ runs:
5959
wsl bash << EOF
6060
set -e
6161
sudo apt-get update
62-
sudo apt-get install -y make python3 libssl-dev gcc dos2unix wslu # build-essential git pkg-config
62+
sudo apt-get install -y make python3 libssl-dev gcc dos2unix build-essential git pkg-config
6363
EOF
6464
6565
- uses: actions/cache@v4

.github/workflows/tests.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,11 +104,12 @@ jobs:
104104
echo $GITHUB_ENV
105105
wsl bash << EOF
106106
set -e
107-
wslupath $GITHUB_ENV
107+
echo $GITHUB_ENV | sed 's|\\|/|g' | sed 's|^C:|/mnt/c|'
108+
ENV_FILE=`echo $GITHUB_ENV | sed 's|\\|/|g' | sed 's|^C:|/mnt/c|'`
108109
python3 ./cluster_manager.py start -p 6380 6381
109110
python3 ./cluster_manager.py start --cluster-mode -p 7000 7001 7002 7003 7004 7005
110-
echo "standalone-endpoints=localhost:6380" >> `(wslupath $GITHUB_ENV)`
111-
echo "cluster-endpoints=localhost:7000" >> `(wslupath $GITHUB_ENV)`
111+
echo "standalone-endpoints=localhost:6380" >> $ENV_FILE
112+
echo "cluster-endpoints=localhost:7000" >> $ENV_FILE
112113
EOF
113114
114115
- name: Test dotnet ${{ matrix.dotnet }}

0 commit comments

Comments
 (0)