Header actions must be an instance of Filament\Actions\Action, or Filament\Actions\ActionGroup.
protected function getHeaderActions(): array { return [ ActionGroup::make([ Action::make() ->name('view') ->icon('heroicon-o-arrow-down-tray') ->url(route('exam.pdf.download', $this->record)) ->openUrlInNewTab(), DeleteAction::make(), ]) ]; }