Add support for custom artifact name
This commit is contained in:
parent
9e39585f85
commit
d72a7e05aa
1 changed files with 6 additions and 1 deletions
7
.github/workflows/build-user-config.yml
vendored
7
.github/workflows/build-user-config.yml
vendored
|
@ -18,6 +18,11 @@ on:
|
||||||
default: "bin"
|
default: "bin"
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
|
artifact_name:
|
||||||
|
description: 'Artifact output file name'
|
||||||
|
default: 'firmware'
|
||||||
|
required: false
|
||||||
|
type: string
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
matrix:
|
matrix:
|
||||||
|
@ -117,5 +122,5 @@ jobs:
|
||||||
- name: Archive (${{ steps.variables.outputs.display-name }})
|
- name: Archive (${{ steps.variables.outputs.display-name }})
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: firmware
|
name: ${{ inputs.artifact_name }}
|
||||||
path: build/artifacts
|
path: build/artifacts
|
||||||
|
|
Loading…
Reference in a new issue