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 36dbb78 commit 78d96d2
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',
'./data/latest_manifest.json',
JSON.stringify(latestManifest)
)

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

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

0 comments on commit 78d96d2

Please sign in to comment.