Skip to content

Commit a1cbbba

Browse files
committed
Skip existing
1 parent 4c88294 commit a1cbbba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ci-prepare-mac-universal-artifacts.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ const startTime = Date.now();
1313
while (Date.now() - startTime < timeout) {
1414
try {
1515
execSync(
16-
`gh release download "v${VERSION}" --repo ${GITHUB_REPOSITORY} --pattern "SentientSims-${VERSION}-mac.zip" --dir .`,
16+
`gh release download "v${VERSION}" --repo ${GITHUB_REPOSITORY} --pattern "SentientSims-${VERSION}-mac.zip" --skip-existing --dir .`,
1717
);
1818
execSync(
19-
`gh release download v${VERSION} --repo ${GITHUB_REPOSITORY} --pattern "SentientSims-${VERSION}-arm64-mac.zip" --dir .`,
19+
`gh release download v${VERSION} --repo ${GITHUB_REPOSITORY} --pattern "SentientSims-${VERSION}-arm64-mac.zip" --skip-existing --dir .`,
2020
);
2121
execSync(`unzip -q SentientSims-${VERSION}-arm64-mac.zip -d mac-arm64`);
2222
execSync(`unzip -q SentientSims-${VERSION}-mac.zip -d mac`);

0 commit comments

Comments
 (0)