Skip to content
This repository was archived by the owner on Aug 12, 2025. It is now read-only.

Commit f20f720

Browse files
authored
Merge pull request hidakatsuya#41 from hidakatsuya/use-apt-get
Suppress the warning to use apt-get instead of apt
2 parents 3587ba7 + eb27f48 commit f20f720

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626

2727
steps:
2828
- if: matrix.os == 'ubuntu-latest'
29-
run: sudo apt install at-spi2-core
29+
run: sudo apt-get install at-spi2-core
3030

3131
- uses: actions/checkout@v3
3232

src/linux.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ const REQUIRED_PACKAGES = [
1111
];
1212

1313
export async function setup(version) {
14-
await exec.exec('sudo apt update');
15-
await exec.exec(`sudo apt install ${REQUIRED_PACKAGES.join(' ')}`);
14+
await exec.exec('sudo apt-get update');
15+
await exec.exec(`sudo apt-get install ${REQUIRED_PACKAGES.join(' ')}`);
1616
await exec.exec(`git clone https://github.com/vslavik/diff-pdf.git -b v${version} --depth 1 ${WORKING_DIR}`);
1717

1818
const buildOptions = {

0 commit comments

Comments
 (0)