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 8d23b0b commit d06d8c7
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 @@ -10,17 +10,17 @@ const inputManifestURL = actionsCore.getInput('manifest-url');

(async () => {
const latestManifest = (await fetchManifestData(inputManifestURL)).latest
fs.mkdir('./data', {recursive: true})
// fs.mkdir('./data', {recursive: true})

await fs.writeFile(
'./data/latest_manifest.json',
'./latest_manifest.json',
JSON.stringify(latestManifest)
)

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

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

0 comments on commit d06d8c7

Please sign in to comment.