Skip to content

Commit 70cbfa6

Browse files
committed
maybe not necessary to install git
1 parent fa6af61 commit 70cbfa6

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

dist/index.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27382,9 +27382,7 @@ const setupDVC = async opts => {
2738227382
'dvc.deb'
2738327383
);
2738427384
await coreExports.group(`Installing dvc from ${source}`, () =>
27385-
execInteractive(
27386-
`${sudo} apt-get update && ${sudo} apt-get install -y --allow-downgrades git ./dvc.deb`
27387-
)
27385+
execInteractive(`${sudo} dpkg -i ./dvc.deb`)
2738827386
);
2738927387
await unlink('dvc.deb');
2739027388
return;

src/utils.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -141,9 +141,7 @@ export const setupDVC = async opts => {
141141
'dvc.deb'
142142
);
143143
await core.group(`Installing dvc from ${source}`, () =>
144-
execInteractive(
145-
`${sudo} apt-get update && ${sudo} apt-get install -y --allow-downgrades git ./dvc.deb`
146-
)
144+
execInteractive(`${sudo} dpkg -i ./dvc.deb`)
147145
);
148146
await unlink('dvc.deb');
149147
return;

0 commit comments

Comments
 (0)