Skip to content

Commit 559672e

Browse files
committed
Add plugin upload GitHub Action
This action uploads a specified plugin file as an artifact. It has a required input for the file name and uses the `upload-artifact` action to perform the upload. Former individual upload steps are replaced by a single step that takes the file name as an input.
1 parent b009343 commit 559672e

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: Upload plugins
2+
description: Upload plugin/artifact
3+
inputs:
4+
file-name:
5+
description: file name to create artifact (without extension e.g. HI2UC)
6+
required: true
7+
runs:
8+
using: composite
9+
steps:
10+
- name: Upload ${{inputs.file-name}}
11+
uses: actions/upload-artifact@v4
12+
with:
13+
name: ${{inputs.file-name}}
14+
path: C:\plugins\${{inputs.file-name}}.dll
15+
16+
# - name: Upload HIColorer
17+
# uses: actions/upload-artifact@v4
18+
# with:
19+
# name: HIColorer
20+
# path: C:\plugins\HIColorer.dll
21+
#
22+
# - name: Upload TightHyphen
23+
# uses: actions/upload-artifact@v4
24+
# with:
25+
# name: TightHyphen
26+
# path: C:\plugins\TightHyphen.dll
27+
#
28+
# - name: Upload NoRecursiveDash
29+
# uses: actions/upload-artifact@v4
30+
# with:
31+
# name: NoRecursiveDash
32+
# path: C:\plugins\NoRecursiveDash.dll
33+
#
34+
# - name: Upload LinesUnbreaker
35+
# uses: actions/upload-artifact@v4
36+
# with:
37+
# name: LinesUnbreaker
38+
# path: C:\plugins\LinesUnbreaker.dll

0 commit comments

Comments
 (0)