Replace chromium-browser snap with setup-chrome

This commit is contained in:
yeasy
2026-05-08 04:19:18 +00:00
parent 13fc8b34f0
commit 2cea196860
3 changed files with 15 additions and 3 deletions
+5 -1
View File
@@ -17,9 +17,13 @@ jobs:
steps:
- uses: actions/checkout@v6
- name: Install Chromium and CJK fonts
uses: browser-actions/setup-chrome@v2
with:
chrome-version: stable
- name: Install CJK fonts
run: |
sudo apt-get update
sudo apt-get install -y chromium-browser fonts-noto-cjk fonts-noto-cjk-extra
sudo apt-get install -y fonts-noto-cjk fonts-noto-cjk-extra
- name: Install mdpress (latest)
run: |
LATEST_TAG=$(curl -fsSL -H "Accept: application/vnd.github+json" -H "Authorization: Bearer ${{ github.token }}" https://api.github.com/repos/yeasy/mdpress/releases/latest | jq -r .tag_name)