diff --git a/.github/workflows/build_static.yml b/.github/workflows/build_static.yml index 869597686..360c5f80d 100644 --- a/.github/workflows/build_static.yml +++ b/.github/workflows/build_static.yml @@ -74,10 +74,6 @@ jobs: - name: Checkout code uses: actions/checkout@v4 - - name: Retrieve annotated tags (https://github.com/actions/checkout/issues/290) - run: git fetch --tags --force - - - name: Switch to ocaml user run: su ocaml @@ -89,6 +85,9 @@ jobs: # the ocaml user do not have rights on it. - run: CURRENTDIR=$(basename $(pwd)); git config --global --add safe.directory /__w/$CURRENTDIR/$CURRENTDIR + - name: Retrieve annotated tags (https://github.com/actions/checkout/issues/290) + run: git fetch --tags --force + - name: Install static dependencies run: sudo apk add zlib-static