File tree Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,12 @@ inputs:
15
15
description : ' The version of Python to use in the CI'
16
16
required : true
17
17
default : ' 3.x'
18
+ package-prefix :
19
+ description : |
20
+ The prefix (or name) of your pacakge (if applicable) to use
21
+ for GitHub releases
22
+ required : true
23
+ default : " "
18
24
runs :
19
25
using : " composite"
20
26
steps :
48
54
shell : bash
49
55
run : |
50
56
source actions-ci/install.sh
57
+ - name : Add the given package filename_prefix
58
+ id : package-prefix-arg
59
+ shell : bash
60
+ run : |
61
+ if [ "${{ inputs.package-prefix }}" == "" ]; then
62
+ echo prefix-arg="" >> $GITHUB_OUTPUT
63
+ else
64
+ echo prefix-arg="--package_folder_prefix ${{ inputs.package-prefix }}" >> $GITHUB_OUTPUT
65
+ fi
51
66
- name : Build assets
52
67
shell : bash
53
- run : circuitpython-build-bundles --filename_prefix ${{ steps.repo-name.outputs.repo-name }} --library_location .
68
+ run : circuitpython-build-bundles --filename_prefix ${{ steps.repo-name.outputs.repo-name }} --library_location . ${{ steps.package-prefix-arg.outputs.prefix-arg }}
54
69
- name : Upload Release Assets
55
70
uses : shogo82148/actions-upload-release-asset@v1
56
71
with :
You can’t perform that action at this time.
0 commit comments