Skip to content

Bug: Can't use an array of strings with runs-on #37

@patrickconroy

Description

@patrickconroy

Hello. Seems something is off with the NormalJob['runs-on'] type.

This no longer works:

export const tmp = () => new NormalJob('test', {
    'runs-on': ['linux', 'self-hosted'],
});

It worked correctly in 0.3.0, no longer in latest.

Thanks.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions