Skip to content

Commit

Permalink
古いget-api-diffを使ってるactionとの互換性をもたせる
Browse files Browse the repository at this point in the history
  • Loading branch information
anatawa12 committed Dec 24, 2023
1 parent 05523f1 commit cfa8a61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/report-api-diff.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
run_id: context.payload.workflow_run.id,
});
let matchArtifacts = allArtifacts.data.artifacts.filter((artifact) => {
return artifact.name.startsWith("api-artifact-")
return artifact.name.startsWith("api-artifact-") || artifact.name == "api-artifact"
});
await Promise.all(matchArtifacts.map(async (artifact) => {
let download = await github.rest.actions.downloadArtifact({
Expand Down

0 comments on commit cfa8a61

Please sign in to comment.