update check for sudo in workflow
Some checks failed
Playwright Tests / test (push) Has been cancelled
Some checks failed
Playwright Tests / test (push) Has been cancelled
This commit is contained in:
parent
a1ab45ffaa
commit
ae74c99591
2
.github/workflows/playwright.yml
vendored
2
.github/workflows/playwright.yml
vendored
@ -15,7 +15,7 @@ jobs:
|
|||||||
node-version: lts/*
|
node-version: lts/*
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
which sudo || apt-get update && apt-get install sudo
|
command -v sudo || apt-get update && apt-get install sudo
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install -y jq xdg-utils xvfb
|
sudo apt-get install -y jq xdg-utils xvfb
|
||||||
curled=$(curl -L https://github.com/obsidianmd/obsidian-releases/raw/refs/heads/master/desktop-releases.json | jq .latestVersion | sed s/\"//g)
|
curled=$(curl -L https://github.com/obsidianmd/obsidian-releases/raw/refs/heads/master/desktop-releases.json | jq .latestVersion | sed s/\"//g)
|
||||||
|
Loading…
Reference in New Issue
Block a user