mirror of
https://github.com/yeasy/docker_practice.git
synced 2026-08-10 16:37:34 +00:00
Replace chromium-browser snap with setup-chrome
This commit is contained in:
@@ -16,9 +16,13 @@ jobs:
|
|||||||
- uses: actions/checkout@v6
|
- uses: actions/checkout@v6
|
||||||
|
|
||||||
- name: Install Chromium and CJK fonts
|
- name: Install Chromium and CJK fonts
|
||||||
|
uses: browser-actions/setup-chrome@v2
|
||||||
|
with:
|
||||||
|
chrome-version: stable
|
||||||
|
- name: Install CJK fonts
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update
|
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)
|
- name: Install mdpress (latest)
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
@@ -17,9 +17,13 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v6
|
- uses: actions/checkout@v6
|
||||||
- name: Install Chromium and CJK fonts
|
- name: Install Chromium and CJK fonts
|
||||||
|
uses: browser-actions/setup-chrome@v2
|
||||||
|
with:
|
||||||
|
chrome-version: stable
|
||||||
|
- name: Install CJK fonts
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update
|
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)
|
- name: Install mdpress (latest)
|
||||||
run: |
|
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)
|
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)
|
||||||
|
|||||||
@@ -23,9 +23,13 @@ jobs:
|
|||||||
- uses: actions/checkout@v6
|
- uses: actions/checkout@v6
|
||||||
|
|
||||||
- name: Install Chromium and CJK fonts
|
- name: Install Chromium and CJK fonts
|
||||||
|
uses: browser-actions/setup-chrome@v2
|
||||||
|
with:
|
||||||
|
chrome-version: stable
|
||||||
|
- name: Install CJK fonts
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update
|
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)
|
- name: Install mdpress (latest)
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user