Commit 2d64139 1 parent d3157ac commit 2d64139 Copy full SHA for 2d64139
File tree 2 files changed +5
-5
lines changed
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 90
90
id : tag
91
91
run : |
92
92
echo "::set-output name=release_date::$(date +"%Y 年 %m 月 %d 日 %H 点 %M 分")"
93
- echo "::set-output name=release_date ::latest_$(date +"%Y-%m-%d_%H-%M")"
93
+ echo "::set-output name=release_tag ::latest_$(date +"%Y-%m-%d_%H-%M")"
94
94
95
95
- name : Release
96
96
uses : softprops/action-gh-release@v1
99
99
body : |
100
100
小彭老师发布的最新 C++ 大典,更新时间 ${{ steps.tag.outputs.release_date }}
101
101
> Release 页面太慢?GitHub 卡顿,无法下载?访问 [小彭老师自己维护的镜像](${{ env.MIRROR_SITE_URL }}/${{ env.TYPST_FILE_NAME }}.pdf)。
102
- tag_name : ${{ steps.tag.outputs.release_date }}
102
+ tag_name : ${{ steps.tag.outputs.release_tag }}
103
103
files : ${{ env.TYPST_FILE_NAME }}.pdf
Original file line number Diff line number Diff line change 7
7
8
8
## 下载 PDF
9
9
10
- 可以前往 [ Release 页面 ] ( https://github.com/parallel101 /cppguidebook/releases ) 免费下载本书的完整 PDF 文件。
10
+ [ 点击开始在线阅读 ] ( https://142857.red/files /cppguidebook.pdf )
11
11
12
- Release 页面太慢? GitHub 卡顿,无法下载?访问 [ 小彭老师自己维护的镜像 ] ( https://142857.red/files /cppguidebook.pdf ) 。
12
+ 也可以前往 [ GitHub Release 页面 ] ( https://github.com/parallel101 /cppguidebook/releases ) 下载 PDF 文件 。
13
13
14
14
> [ !NOTE]
15
- > 感谢 [ Derived Cat] ( https://github.com/hooyuser ) 大佬提供智能脚本!每当小彭老师推送了修改后,该 PDF 文件都会自动更新。只要看到小彭老师提交新 commit,你就可以随时重新下载最新版。
15
+ > 感谢 [ Derived Cat] ( https://github.com/hooyuser ) 大佬提供智能脚本!每当小彭老师推送了修改后,Release 页面和小水管服务器上的 PDF 文件都会自动更新。只要看到小彭老师提交新 commit,你就可以随时重新下载最新版。
16
16
17
17
## 你也可以参与编写的开源小册
18
18
You can’t perform that action at this time.
0 commit comments