Skip to content

Commit

Permalink
chore: πŸ€– 不要γͺコードを整理
Browse files Browse the repository at this point in the history
  • Loading branch information
hijiki51 committed Aug 25, 2023
1 parent 3680327 commit 32efc73
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/draft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on:
release:
types:
- published
- unpublished

jobs:
copy-assets:
Expand All @@ -28,8 +27,6 @@ jobs:
repo: context.repo.repo
});
core.info(Object.entries(latest.data));
if (!latest.data.assets || latest.data.assets.length === 0) {
console.log("No assets found in latest release");
return;
Expand All @@ -44,8 +41,6 @@ jobs:
draft: true
});
core.info(Object.entries(draft.data));
for (const asset of assets) {
if (asset.browser_download_url.includes("releases/download")) {
// download data
Expand All @@ -70,6 +65,6 @@ jobs:
"Content-Length": asset.size,
},
});
console.log(upload.name);
core.info(upload.data.name);
}
}

0 comments on commit 32efc73

Please sign in to comment.