Skip to content

Commit

Permalink
chore: bump to v2.3
Browse files Browse the repository at this point in the history
add support for steam uploading
  • Loading branch information
Cccc-owo committed May 25, 2024
1 parent 8fe0cee commit 41f895c
Show file tree
Hide file tree
Showing 12 changed files with 118 additions and 18 deletions.
53 changes: 49 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
run: ./main.bat

- name: Upload generated files
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: font-artifact
path: |
Expand All @@ -34,7 +34,7 @@ jobs:
runs-on: windows-latest
if: startsWith(github.ref, 'refs/tags/') != true
steps:
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: font-artifact

Expand All @@ -56,13 +56,58 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: font-artifact

- name: Release Action
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
with:
files: |
*.zip
body_path: CHANGELOG.md

publish:
runs-on: windows-2019
needs: build
if: startsWith(github.ref, 'refs/tags/')

steps:
- name: Checkout
uses: actions/checkout@v4

- uses: actions/download-artifact@v4
with:
name: font-artifact

- name: Unzip mod
run: |
mkdir output
7z.exe x *.zip -ooutput
shell: cmd

- name: Get steamcmd
run: |
dir
curl https://steamcdn-a.akamaihd.net/client/installer/steamcmd.zip --output steamcmd.zip
7z.exe e steamcmd.zip -osteamcmd
dir
shell: cmd

- name: Checkout steamcmd config
uses: actions/checkout@v4
with:
repository: Cccc-owo/steamcmd
token: ${{ secrets.STEAMCMD_TOKEN }}
path: steamcmd/config

- name: Upload Steam workshop
run: |
cd steamcmd
dir
steamcmd.exe -dev -textmode -ignoredxsupportcfg +login %STEAM_LOGIN_NAME% +workshop_build_item ..\resources\GongWenKaiTi.vdf +workshop_build_item ..\resources\GuDianMingChaoTi.vdf +workshop_build_item ..\resources\KangXiZiDianTi.vdf +workshop_build_item ..\resources\LiShu.vdf +workshop_build_item ..\resources\Source-Han-Serif.vdf +quit
env:
STEAM_LOGIN_NAME: ${{ secrets.STEAM_LOGIN_NAME }}
STEAM_LOGIN_PASSWORD: ${{ secrets.STEAM_LOGIN_PASSWORD }}
shell: cmd
continue-on-error: true
13 changes: 9 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
|Mod name|备注|
|----|----|
|Chinese Language Mod|52汉化|
|Chinese Language Mod for 1.36|52汉化补充包|
|Chinese Language Mod for 1.37|52汉化补充包|
|延长时间线汉化 - Extended Timeline Chinese||
|Bimillennium_Universalis_9.0|(左版)风云世纪两千年|
|战争前夜汉化||
Expand All @@ -24,18 +24,23 @@
|MnT3.0 简中汉化子MOD「筑紫圆体」||
|帝国风云3.11 帝国的成长 基础汉化版||
|1.36 Celestial empire on which the sun never sets|东亚·天朝日不落|
|1.37 Celestial empire on which the sun never sets|东亚·天朝日不落|
|伏尔泰的噩梦Ⅱ汉化整合||
|Third Odyssey: Back to the Motherland CN|第三奥德赛汉化|
|萬方景明||
|天行有常demo||

## v2.2 20240430
## v2.3 20240525

- 补充更多字符
- 为字体图加入适当的透明度
- 适配 v1.37

<details><summary>历史更新日志</summary>

- 更新字体

## v2.2 20240430

- 补充更多字符
- 为字体图加入适当的透明度

</details>
5 changes: 3 additions & 2 deletions mod_descriptor/font-GongWenKaiTi.mod
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
version="2.2"
version="2.3"
tags={
"Map"
}
name="中文地图字体-方正公文楷体"
dependencies={
"Chinese Language Mod"
"Chinese Language Mod for 1.36"
"Chinese Language Mod for 1.37"
"延长时间线汉化 - Extended Timeline Chinese"
"Bimillennium_Universalis_9.0"
"战争前夜汉化"
Expand All @@ -14,6 +14,7 @@ dependencies={
"MnT3.0 简中汉化子MOD「筑紫圆体」"
"帝国风云3.11 帝国的成长 基础汉化版"
"1.36 Celestial empire on which the sun never sets"
"1.37 Celestial empire on which the sun never sets"
"伏尔泰的噩梦Ⅱ汉化整合"
"Third Odyssey: Back to the Motherland CN"
"萬方景明"
Expand Down
5 changes: 3 additions & 2 deletions mod_descriptor/font-GuDianMingChaoTi.mod
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
version="2.2"
version="2.3"
tags={
"Map"
}
name="中文地图字体-古典明朝体"
dependencies={
"Chinese Language Mod"
"Chinese Language Mod for 1.36"
"Chinese Language Mod for 1.37"
"延长时间线汉化 - Extended Timeline Chinese"
"Bimillennium_Universalis_9.0"
"战争前夜汉化"
Expand All @@ -14,6 +14,7 @@ dependencies={
"MnT3.0 简中汉化子MOD「筑紫圆体」"
"帝国风云3.11 帝国的成长 基础汉化版"
"1.36 Celestial empire on which the sun never sets"
"1.37 Celestial empire on which the sun never sets"
"伏尔泰的噩梦Ⅱ汉化整合"
"Third Odyssey: Back to the Motherland CN"
"萬方景明"
Expand Down
5 changes: 3 additions & 2 deletions mod_descriptor/font-KangXiZiDianTi.mod
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
version="2.2"
version="2.3"
tags={
"Map"
}
name="中文地图字体-康熙字典体"
dependencies={
"Chinese Language Mod"
"Chinese Language Mod for 1.36"
"Chinese Language Mod for 1.37"
"延长时间线汉化 - Extended Timeline Chinese"
"Bimillennium_Universalis_9.0"
"战争前夜汉化"
Expand All @@ -14,6 +14,7 @@ dependencies={
"MnT3.0 简中汉化子MOD「筑紫圆体」"
"帝国风云3.11 帝国的成长 基础汉化版"
"1.36 Celestial empire on which the sun never sets"
"1.37 Celestial empire on which the sun never sets"
"伏尔泰的噩梦Ⅱ汉化整合"
"Third Odyssey: Back to the Motherland CN"
"萬方景明"
Expand Down
5 changes: 3 additions & 2 deletions mod_descriptor/font-LiShu.mod
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
version="2.2"
version="2.3"
tags={
"Map"
}
name="中文地图字体-隶书"
dependencies={
"Chinese Language Mod"
"Chinese Language Mod for 1.36"
"Chinese Language Mod for 1.37"
"延长时间线汉化 - Extended Timeline Chinese"
"Bimillennium_Universalis_9.0"
"战争前夜汉化"
Expand All @@ -14,6 +14,7 @@ dependencies={
"MnT3.0 简中汉化子MOD「筑紫圆体」"
"帝国风云3.11 帝国的成长 基础汉化版"
"1.36 Celestial empire on which the sun never sets"
"1.37 Celestial empire on which the sun never sets"
"伏尔泰的噩梦Ⅱ汉化整合"
"Third Odyssey: Back to the Motherland CN"
"萬方景明"
Expand Down
5 changes: 3 additions & 2 deletions mod_descriptor/font-Source-Han-Serif.mod
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
version="2.2"
version="2.3"
tags={
"Map"
}
name="中文地图字体-思源宋体"
dependencies={
"Chinese Language Mod"
"Chinese Language Mod for 1.36"
"Chinese Language Mod for 1.37"
"延长时间线汉化 - Extended Timeline Chinese"
"Bimillennium_Universalis_9.0"
"战争前夜汉化"
Expand All @@ -14,6 +14,7 @@ dependencies={
"MnT3.0 简中汉化子MOD「筑紫圆体」"
"帝国风云3.11 帝国的成长 基础汉化版"
"1.36 Celestial empire on which the sun never sets"
"1.37 Celestial empire on which the sun never sets"
"伏尔泰的噩梦Ⅱ汉化整合"
"Third Odyssey: Back to the Motherland CN"
"萬方景明"
Expand Down
9 changes: 9 additions & 0 deletions resources/GongWenKaiTi.vdf
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
"workshopitem"
{
"appid" "236850"
"publishedfileid" "2922818916"
"contentfolder" "D:\a\EU4-Font\EU4-Font\output\font-GongWenKaiTi"
"previewfile" "D:\a\EU4-Font\EU4-Font\output\font-GongWenKaiTi\thumbnail.png"
"visibility" "0"
"changenote" "New version was released. Check [url=https://github.com/Cccc-owo/EU4-Font]GitHub[/url] for details."
}
9 changes: 9 additions & 0 deletions resources/GuDianMingChaoTi.vdf
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
"workshopitem"
{
"appid" "236850"
"publishedfileid" "2922815739"
"contentfolder" "D:\a\EU4-Font\EU4-Font\output\font-GuDianMingChaoTi"
"previewfile" "D:\a\EU4-Font\EU4-Font\output\font-GuDianMingChaoTi\thumbnail.png"
"visibility" "0"
"changenote" "New version was released. Check [url=https://github.com/Cccc-owo/EU4-Font]GitHub[/url] for details."
}
9 changes: 9 additions & 0 deletions resources/KangXiZiDianTi.vdf
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
"workshopitem"
{
"appid" "236850"
"publishedfileid" "2948571848"
"contentfolder" "D:\a\EU4-Font\EU4-Font\output\font-KangXiZiDianTi"
"previewfile" "D:\a\EU4-Font\EU4-Font\output\font-KangXiZiDianTi\thumbnail.png"
"visibility" "0"
"changenote" "New version was released. Check [url=https://github.com/Cccc-owo/EU4-Font]GitHub[/url] for details."
}
9 changes: 9 additions & 0 deletions resources/LiShu.vdf
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
"workshopitem"
{
"appid" "236850"
"publishedfileid" "3172194779"
"contentfolder" "D:\a\EU4-Font\EU4-Font\output\font-LiShu"
"previewfile" "D:\a\EU4-Font\EU4-Font\output\font-LiShu\thumbnail.png"
"visibility" "0"
"changenote" "New version was released. Check [url=https://github.com/Cccc-owo/EU4-Font]GitHub[/url] for details."
}
9 changes: 9 additions & 0 deletions resources/Source-Han-Serif.vdf
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
"workshopitem"
{
"appid" "236850"
"publishedfileid" "2963048051"
"contentfolder" "D:\a\EU4-Font\EU4-Font\output\font-Source-Han-Serif"
"previewfile" "D:\a\EU4-Font\EU4-Font\output\font-Source-Han-Serif\thumbnail.png"
"visibility" "0"
"changenote" "New version was released. Check [url=https://github.com/Cccc-owo/EU4-Font]GitHub[/url] for details."
}

0 comments on commit 41f895c

Please sign in to comment.