Try to publish any package when it runs on ubuntu-latest with the default checkout v1 or v2.
Expected behavior:
It publishes successfully.
Actual behavior:
Receive an error:
ERROR Command failed with exit code 128: git symbolic-ref --short HEAD
fatal: ref HEAD is not a symbolic ref
at makeError ../../../setup-pnpm/dist/pnpm.js:55643 error = new Error(messag…
at handlePromise ../../../setup-pnpm/dist/pnpm.js:56172 const returnedError = ma…
at processTicksAndRejections internal/process/task_queues.js:97
at getCurrentBranch ../../../setup-pnpm/dist/pnpm.js:119325 const {stdout} = await e…
at handler [as publish] ../../../setup-pnpm/dist/pnpm.js:120029 const currentBranch = aw…
at _onTimeout ../../../setup-pnpm/dist/pnpm.js:124957 result = await result;
pnpm version: 5.16.0
Code to reproduce the issue:
Try to publish any package when it runs on
ubuntu-latest
with the default checkout v1 or v2.Expected behavior:
It publishes successfully.
Actual behavior:
Receive an error:
Additional information: