Skip to content

Commit

Permalink
fix: 移除二进制文件,使用go安装
Browse files Browse the repository at this point in the history
  • Loading branch information
hailaz committed Jan 25, 2024
1 parent a8e3aab commit 992c65c
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 4 deletions.
10 changes: 9 additions & 1 deletion .github/workflows/download.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,18 +43,25 @@ jobs:
env:
TAG: ${{ env.GITHUB_MY_TAG }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Set Up Golang Environment
uses: actions/setup-go@v4
with:
go-version: 1.20.4
- name: 准备环境
run: |
echo ${{ env.GITHUB_MY_TAG }}
sudo apt update
sudo apt install ttf-wqy-zenhei
fc-cache -f -v
ls -la
# 清除最新版的下载目录
rm -rf output/goframe-latest
# ls -la output
# 下载工具
go install github.com/hailaz/doc2pdf/cmd/doc2pdf@latest
- name: download doc
run: |
./doc2pdf gf
doc2pdf gf all
- name: show files
run: |
ls -la
Expand All @@ -67,6 +74,7 @@ jobs:
with:
tag_name: '${{ env.GITHUB_MY_TAG }}'
name: '${{ env.GITHUB_MY_TAG }}'
body: '按需选择下载对应版本的文档'
draft: false
prerelease: false
files: |
Expand Down
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# goframe.org-pdf

Standalone document of goframe.org in pdf.
Standalone document of [goframe.org](https://goframe.org/display/gf) in pdf.

doc2pdf is from https://github.com/hailaz/doc2pdf
[goframe](https://goframe.org/display/gf)离线文档下载: https://github.com/gogf/goframe.org-pdf/releases

文档转PDF工具来自: https://github.com/hailaz/doc2pdf
3 changes: 2 additions & 1 deletion change.log
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
2024年1月24日 21:59:41
2024年1月24日 22:45:44
2024年1月24日 22:48:05
2024年1月24日 22:48:05
2024年1月25日 11:01:34
Binary file removed doc2pdf
Binary file not shown.

0 comments on commit 992c65c

Please sign in to comment.