Browse Source

Add support for custom artifact name

xmkb
Albert Y 3 years ago committed by Pete Johanson
parent
commit
d72a7e05aa
  1. 7
      .github/workflows/build-user-config.yml

7
.github/workflows/build-user-config.yml

@ -18,6 +18,11 @@ on: @@ -18,6 +18,11 @@ on:
default: "bin"
required: false
type: string
artifact_name:
description: 'Artifact output file name'
default: 'firmware'
required: false
type: string
jobs:
matrix:
@ -117,5 +122,5 @@ jobs: @@ -117,5 +122,5 @@ jobs:
- name: Archive (${{ steps.variables.outputs.display-name }})
uses: actions/upload-artifact@v2
with:
name: firmware
name: ${{ inputs.artifact_name }}
path: build/artifacts

Loading…
Cancel
Save