@liblaf/actions 1.6.0 → 1.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# yaml-language-server: $schema=https://www.schemastore.org/github-action.json
|
|
2
|
+
|
|
3
|
+
name: Publish Drafts
|
|
4
|
+
|
|
5
|
+
author: liblaf
|
|
6
|
+
|
|
7
|
+
description: Publish draft releases whose tags match a pattern after they are older than a configured duration
|
|
8
|
+
|
|
9
|
+
inputs:
|
|
10
|
+
older-than:
|
|
11
|
+
description: Publish matching draft releases only after they are older than this duration
|
|
12
|
+
required: false
|
|
13
|
+
default: 1hr
|
|
14
|
+
tag-pattern:
|
|
15
|
+
description: Regular expression used to select release tags that should be published
|
|
16
|
+
required: false
|
|
17
|
+
default: 'v\d+\.\d+\.\d+'
|
|
18
|
+
token:
|
|
19
|
+
description: GitHub token used to list releases and publish matching drafts
|
|
20
|
+
required: false
|
|
21
|
+
default: ${{ github.token }}
|
|
22
|
+
|
|
23
|
+
runs:
|
|
24
|
+
using: node24
|
|
25
|
+
main: ./dist/index.js
|