Skip to content

Commit

Permalink
fix script
Browse files Browse the repository at this point in the history
  • Loading branch information
JoonasOnatsu committed Nov 11, 2024
1 parent bebbd2a commit 2bd54da
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/actions/build-version/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ if [[ "${GITHUB_EVENT_NAME}" == "release" ]] && [[ "${GITHUB_REF_TYPE}" != "tag"
fi
echo "::endgroup::"

echo "::group::Add $GITHUB_WORKSPACE/.git as safe directory"
git config --global --add safe.directory $GITHUB_WORKSPACE/.git
echo "::endgroup::"

echo "::group::Parse version"

# Default to version based on GITHUB_SHA
Expand Down

0 comments on commit 2bd54da

Please sign in to comment.