diff --git a/.github/workflows/sycl_cleanup.yml b/.github/workflows/sycl_cleanup.yml index 31b331b35e93e..1ae019638c0c4 100644 --- a/.github/workflows/sycl_cleanup.yml +++ b/.github/workflows/sycl_cleanup.yml @@ -21,7 +21,7 @@ jobs: run_id: context.payload.workflow_run.id, }); let matchArtifacts = allArtifacts.data.artifacts.filter((artifact) => { - return artifact.name.startsWith("sycl_linux_"); + return artifact.name.match(/^sycl_(linux|windows)_/); }); matchArtifacts.forEach(async (artifact) => { await github.rest.actions.deleteArtifact({