Chrome installation setup for Gitea actions
This commit is contained in:
parent
2982f44acc
commit
5525cc814a
@ -56,8 +56,18 @@ jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
||||
- name: Install packages
|
||||
run: sudo apt-get update && sudo apt-get install --no-install-recommends -y build-essential git libyaml-dev pkg-config google-chrome-stable
|
||||
run: sudo apt-get update && sudo apt-get install --no-install-recommends -y build-essential git libyaml-dev pkg-config software-properties-common apt-transport-https ca-certificates
|
||||
|
||||
- name: Import Chrome GPG key
|
||||
run: curl -fSsL https://dl.google.com/linux/linux_signing_key.pub | sudo gpg --dearmor | sudo tee /usr/share/keyrings/google-chrome.gpg >> /dev/null
|
||||
|
||||
- name: Import Chrome APT repository
|
||||
run: echo deb [arch=amd64 signed-by=/usr/share/keyrings/google-chrome.gpg] http://dl.google.com/linux/chrome/deb/ stable main | sudo tee /etc/apt/sources.list.d/google-chrome.list
|
||||
|
||||
- name: Install Chrome
|
||||
run: sudo apt update && sudo apt install google-chrome-stable
|
||||
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
Loading…
x
Reference in New Issue
Block a user