Add custom binary check-update support for artifacts

This commit is contained in:
crazywhalecc
2026-02-28 13:55:52 +08:00
parent ed5a516004
commit 40e36982d3
6 changed files with 111 additions and 2 deletions

View File

@@ -0,0 +1,11 @@
<?php
declare(strict_types=1);
namespace StaticPHP\Attribute\Artifact;
#[\Attribute(\Attribute::TARGET_METHOD | \Attribute::IS_REPEATABLE)]
class CustomBinaryCheckUpdate
{
public function __construct(public string $artifact_name, public array $support_os) {}
}