Skip to content

Commit

Permalink
upload artifacts from root
Browse files Browse the repository at this point in the history
  • Loading branch information
Brendonovich committed Oct 13, 2023
1 parent 53ef10b commit 3f8b90c
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 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], ARTIFACTS_DIR);
await client.uploadArtifact(ARTIFACT_NAME, [artifactPath], './');

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

await client.uploadArtifact(
artifactName,
[artifactPath, `${artifactPath}.sig`],
ARTIFACTS_DIR
);
await client.uploadArtifact(artifactName, [artifactPath, `${artifactPath}.sig`], './');
}
}
}
Expand Down

0 comments on commit 3f8b90c

Please sign in to comment.