mirror of
https://github.com/zmkfirmware/zmk.git
synced 2026-03-20 04:55:20 -05:00
Add support for custom artifact name
This commit is contained in:
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
|
||||||
|
|||||||
Reference in New Issue
Block a user