Skip to content

Commit

Permalink
Update index.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Mqxx committed Feb 6, 2024
1 parent b637d61 commit f4c14b1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,17 @@ const inputManifestURL = actionsCore.getInput('manifest-url');
console.log(__dirname, latestManifest);


fs.mkdir(`/data`, {recursive: true})
fs.mkdir(`./data`, {recursive: true})
await fs.writeFile(
`/data/latest_manifest.json`,
`./data/latest_manifest.json`,
JSON.stringify(latestManifest)
)


artifactClient.uploadArtifact(
'manifest',
[`/data/latest_manifest.json`],
`/data`
[`./data/latest_manifest.json`],
`./data`
)

// const artifacts = await artifactClient.listArtifacts({latest: true})
Expand Down

0 comments on commit f4c14b1

Please sign in to comment.