Skip to content

Commit 76203d7

Browse files
committed
fix: link error
1 parent 6664fc9 commit 76203d7

File tree

1 file changed

+15
-1
lines changed
  • .github/actions/flutter_integration_test

1 file changed

+15
-1
lines changed

.github/actions/flutter_integration_test/action.yml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,22 @@ runs:
7979
with:
8080
name: ${{ github.run_id }}-${{ inputs.os }}
8181

82+
- name: Configure Windows long paths
83+
if: runner.os == 'Windows'
84+
shell: pwsh
85+
run: |
86+
New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem" -Name "LongPathsEnabled" -Value 1 -PropertyType DWORD -Force
87+
git config --system core.longpaths true
88+
89+
- name: Create short path directory for Windows
90+
if: runner.os == 'Windows'
91+
shell: cmd
92+
run: |
93+
mkdir C:\af
94+
mklink /J "D:\a\AppFlowy\AppFlowy" "C:\af"
95+
8296
- name: Uncompressed appflowy_flutter
83-
run: tar --dereference -xf appflowy_flutter.tar.gz
97+
run: tar -xf appflowy_flutter.tar.gz
8498
shell: bash
8599

86100
- name: Run Flutter integration tests

0 commit comments

Comments
 (0)