Detect dnf/apt/apk/pacman in the Forgejo release workflow so Java setup works across runner base images.