Skip to content

Commit

Permalink
feat: release pdf
Browse files Browse the repository at this point in the history
  • Loading branch information
Dunky-Z committed Dec 8, 2022
1 parent 267d5c9 commit ce45b57
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 7 deletions.
29 changes: 23 additions & 6 deletions .github/workflows/mppl.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
name: MPPL

on: push

on:
push:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
jobs:
convert_via_pandoc:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -34,8 +36,23 @@ jobs:
- name: build pdf
run: |
cd src
pandoc -f markdown-auto_identifiers --listings --pdf-engine=xelatex --template=../MPPL/templates/mppl.tex --output=../output/UEFI规范-中文.pdf *.md
- uses: actions/upload-artifact@master
pandoc -f markdown-auto_identifiers --listings --pdf-engine=xelatex --template=../MPPL/templates/mppl.tex --output=../output/UEFI-Spec-ZH.pdf *.md
# - uses: actions/upload-artifact@master
# with:
# name: UEFI 规范 - 中文
# path: output/UEFI规范-中文.pdf
# - name: echo
# run: |
# pwd
# ls -a
- name: Create Release and Upload Release Asset
uses: softprops/action-gh-release@v1
# if: startsWith(github.ref, 'refs/tags/')
with:
name: output
path: output
tag_name: v0.1
# name: Release v0.1
body: TODO New Release.
draft: false
prerelease: false
files: |
output/UEFI-Spec-ZH.pdf
1 change: 0 additions & 1 deletion src/4-EFI-System-Table.md
Original file line number Diff line number Diff line change
Expand Up @@ -387,4 +387,3 @@ typedef struct{

- VendorGuid 唯一标识系统配置表的 128 位 GUID 值。
- VendorTable 指向与 `VendorGuid` 关联的表的指针。用于存储表的内存类型以及该指针在运行时是物理地址还是虚拟地址(当调用 `SetVirtualAddressMap()` 时,表中报告的特定地址是否得到修复)由 `VendorGuid` 确定。除非另有说明,否则表缓冲区的内存类型由第 2 章调用约定部分中规定的指南定义。定义 VendorTable 的规范有责任指定额外的内存类型要求(如果有)以及是否转换表中报告的地址。任何所需的地址转换都是发布相应配置表的驱动程序的责任。指向与 VendorGuid 关联的表的指针。这个指针在运行时是物理地址还是虚拟地址由 `VendorGuid` 决定。与给定 `VendorTable` 指针关联的 `VendorGuid` 定义在调用 `SetVirtualAddressMap()` 时表中报告的特定地址是否得到修复。定义 `VendorTable` 的规范有责任指定是否转换表中报告的地址。

0 comments on commit ce45b57

Please sign in to comment.