forked from actions/checkout
8.2 KiB
8.2 KiB
更新日志
v4.2.2
url-helper.ts
现在利用众所周知的环境变量,由 @jww3 在 https://github.com/actions/checkout/pull/1941 中贡献- 扩展
isGhes
的单元测试覆盖率,由 @jww3 在 https://github.com/actions/checkout/pull/1946 中贡献
v4.2.1
- 如果提供了 commit,则检出其他 refs/*,否则回退到 ref,由 @orhantoy 在 https://github.com/actions/checkout/pull/1924 中贡献
v4.2.0
- 添加 Ref 和 Commit 输出,由 @lucacome 在 https://github.com/actions/checkout/pull/1180 中贡献
- 依赖项更新,由 @dependabot 在 https://github.com/actions/checkout/pull/1777 和 https://github.com/actions/checkout/pull/1872 中贡献
v4.1.7
- 在 1 个目录中更新次要 npm 依赖项组,共 4 次更新,由 @dependabot 在 https://github.com/actions/checkout/pull/1739 中贡献
- 将 actions/checkout 从 3 升级到 4,由 @dependabot 在 https://github.com/actions/checkout/pull/1697 中贡献
- 按 commit 检出其他 refs/*,由 @orhantoy 在 https://github.com/actions/checkout/pull/1774 中贡献
- 将 actions/checkout 自身的工作流固定到已知、良好、稳定的版本,由 @jww3 在 https://github.com/actions/checkout/pull/1776 中贡献
v4.1.6
- 检查平台以适当设置存档扩展名,由 @cory-miller 在 https://github.com/actions/checkout/pull/1732 中贡献
v4.1.5
- 更新 NPM 依赖项,由 @cory-miller 在 https://github.com/actions/checkout/pull/1703 中贡献
- 将 github/codeql-action 从 2 升级到 3,由 @dependabot 在 https://github.com/actions/checkout/pull/1694 中贡献
- 将 actions/setup-node 从 1 升级到 4,由 @dependabot 在 https://github.com/actions/checkout/pull/1696 中贡献
- 将 actions/upload-artifact 从 2 升级到 4,由 @dependabot 在 https://github.com/actions/checkout/pull/1695 中贡献
- README:建议将
user.email
设置为41898282+github-actions[bot]@users.noreply.github.com
,由 @cory-miller 在 https://github.com/actions/checkout/pull/1707 中贡献
v4.1.4
- 禁用
sparse-checkout
时禁用extensions.worktreeConfig
,由 @jww3 在 https://github.com/actions/checkout/pull/1692 中贡献 - 添加 dependabot 配置,由 @cory-miller 在 https://github.com/actions/checkout/pull/1688 中贡献
- 使用 2 次更新更新次要 actions 依赖项组,由 @dependabot 在 https://github.com/actions/checkout/pull/1693 中贡献
- 将 word-wrap 从 1.2.3 升级到 1.2.5,由 @dependabot 在 https://github.com/actions/checkout/pull/1643 中贡献
v4.1.3
- 在尝试禁用
sparse-checkout
之前检查 git 版本,由 @jww3 在 https://github.com/actions/checkout/pull/1656 中贡献 - 添加 SSH 用户参数,由 @cory-miller 在 https://github.com/actions/checkout/pull/1685 中贡献
- 在
update-main-version.yml
中更新actions/checkout
版本,由 @jww3 在 https://github.com/actions/checkout/pull/1650 中贡献
v4.1.2
- 修复:当
sparse-checkout
选项不存在时禁用稀疏检出,由 @dscho 在 https://github.com/actions/checkout/pull/1598 中贡献
v4.1.1
- 修正指向 GitHub 文档的链接,由 @peterbe 在 https://github.com/actions/checkout/pull/1511 中贡献
- 从“新特性”部分链接到发布页面,由 @cory-miller 在 https://github.com/actions/checkout/pull/1514 中贡献
v4.1.0
v4.0.0
v3.6.0
v3.5.3
v3.5.2
v3.5.1
v3.5.0
v3.4.0
v3.3.0
v3.2.0
- 添加 GitHub Action 以执行发布
- 修复状态徽章
- 将 datadog/squid 替换为 ubuntu/squid Docker 镜像
- 在 submoduleForeach 的管道命令周围添加引号
- 将 @actions/io 升级到 1.1.2
- 升级到版本 3.2.0
v3.1.0
v3.0.2
v3.0.1
v3.0.0
v2.3.1
v2.3.0
v2.2.0
v2.1.1
v2.1.0
- 分组输出
- 支持 GHES alpha 发布的更改
- 为子模块持久化 core.sshCommand
- 添加对 ssh 的支持
- 当不使用 SSH 时,将子模块 SSH URL 转换为 HTTPS
- 添加子模块支持
- 遵循代理设置
- 修复 pr 关闭事件的 ref,当 pr 被合并时
- 修复 git 版本低于 2.22 时检查分离状态的问题
v2.0.0
v2 (beta)
- 改进的获取性能
- 默认行为现在仅获取正在检出的 SHA
- 脚本认证的 git 命令
- 将
with.token
持久化到本地 git 配置 - 使您的脚本可以运行经过身份验证的 git 命令
- 作业后清理移除令牌
- 即将推出:通过将
with.persist-credentials
设置为false
来选择退出
- 将
- 创建本地分支
- 检出分支时不再是分离的 HEAD
- 创建一个带有相应上游分支设置的本地分支
- 改进的布局
with.path
始终相对于github.workspace
- 更好地与容器操作对齐,其中
github.workspace
被映射进来
- 移除输入
submodules
v1
有关 V1 更新日志,请参阅 这里