Skip to content

Commit

Permalink
Fix artifact upload hopefully
Browse files Browse the repository at this point in the history
  • Loading branch information
HeavenVolkoff committed Oct 13, 2023
1 parent 2927d40 commit 53ef10b
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/actions/publish-artifacts/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ async function run() {
if (!standalonePath) throw `Standalone path not found. Files: ${files}`;

await io.mv(standalonePath, artifactPath);
await client.uploadArtifact(ARTIFACT_NAME, [artifactPath], './');
await client.uploadArtifact(ARTIFACT_NAME, [artifactPath], ARTIFACTS_DIR);

if (updaterExt) {
const artifactName = `Spacedrive-Updater-${OS}-${ARCH}.${updaterExt}`;
Expand All @@ -58,7 +58,11 @@ async function run() {
await io.mv(updaterPath, artifactPath);
await io.mv(`${updaterPath}.sig`, `${artifactPath}.sig`);

await client.uploadArtifact(artifactName, [`Spacedrive-Updater-*`], ARTIFACTS_DIR);
await client.uploadArtifact(
artifactName,
[artifactPath, `${artifactPath}.sig`],
ARTIFACTS_DIR
);
}
}
}
Expand Down

0 comments on commit 53ef10b

Please sign in to comment.