Skip to content

Commit

Permalink
Adds readme to js-action's glob
Browse files Browse the repository at this point in the history
The readme should be included in the tag as well. Otherwise when selecting an older version in the marketplace there is no readme displayed.

See also here: JasonEtco/build-and-tag-action#18 (comment)
  • Loading branch information
hanseartic committed Aug 23, 2023
1 parent 047888a commit 2dec894
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/glob-patterns.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import fs from 'node:fs';
import type { Arguments } from './types';

const templates: Record<string, string[]> = {
'composite-action': ['action.{yml,yaml}', 'LICENSE'],
'javascript-action': ['action.{yml,yaml}', 'dist/**', 'LICENSE'],
'composite-action': ['action.{yml,yaml}', 'LICENSE', 'README{,.md}'],
'javascript-action': ['action.{yml,yaml}', 'dist/**', 'LICENSE', 'README{,.md}'],
};

const extractNames = (input: string) =>
Expand Down

0 comments on commit 2dec894

Please sign in to comment.