ruki 3 years ago
parent
commit
df73ae7ce1
2 changed files with 2 additions and 0 deletions
  1. 1 0
      .github/workflows/archlinux.yml
  2. 1 0
      .github/workflows/freebsd.yml

+ 1 - 0
.github/workflows/archlinux.yml

@@ -24,6 +24,7 @@ jobs:
           pacman -Sy --noconfirm --needed glibc git base-devel perl make unzip
           pacman -Sy --noconfirm --needed glibc git base-devel perl make unzip
           pacman -Sy --noconfirm --needed mesa gcc-fortran glu
           pacman -Sy --noconfirm --needed mesa gcc-fortran glu
           git config --global --add safe.directory /__w/xmake/xmake
           git config --global --add safe.directory /__w/xmake/xmake
+          git config --global --add safe.directory /__w/xmake-repo/xmake-repo
       - uses: actions/checkout@v1
       - uses: actions/checkout@v1
       - uses: xmake-io/github-action-setup-xmake@v1
       - uses: xmake-io/github-action-setup-xmake@v1
         with:
         with:

+ 1 - 0
.github/workflows/freebsd.yml

@@ -35,6 +35,7 @@ jobs:
             gmake install
             gmake install
             export XMAKE_ROOT=y
             export XMAKE_ROOT=y
             cd -
             cd -
+            git config --global --add safe.directory /Users/runner/work/xmake-repo/xmake-repo
             xmake l ./scripts/test.lua -D -k ${{ matrix.kind }}
             xmake l ./scripts/test.lua -D -k ${{ matrix.kind }}