aboutsummaryrefslogtreecommitdiffhomepage
path: root/.github
diff options
context:
space:
mode:
authorCem Aksoylar <[email protected]>2023-11-10 22:40:55 -0800
committerPete Johanson <[email protected]>2023-11-13 12:27:05 -0800
commitc1bf35ce1de4b7d99c034300c9a813a0a3d11669 (patch)
treead5df7800bc338da9db9e68bb4b88b35a9071860 /.github
parent91aa3378f32f5688329a663fdaba4772e069d548 (diff)
downloadzmk-c1bf35ce1de4b7d99c034300c9a813a0a3d11669.tar.gz
zmk-c1bf35ce1de4b7d99c034300c9a813a0a3d11669.zip
feat(build): Add support for artifact-name in build.yaml
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build-user-config.yml6
1 files changed, 4 insertions, 2 deletions
diff --git a/.github/workflows/build-user-config.yml b/.github/workflows/build-user-config.yml
index c1a97b4d6e..5aacadca90 100644
--- a/.github/workflows/build-user-config.yml
+++ b/.github/workflows/build-user-config.yml
@@ -55,12 +55,14 @@ jobs:
- name: Prepare variables
shell: sh -x {0}
env:
+ board: ${{ matrix.board }}
shield: ${{ matrix.shield }}
+ artifact_name: ${{ matrix.artifact-name }}
run: |
echo "zephyr_version=${ZEPHYR_VERSION}" >> $GITHUB_ENV
echo "extra_cmake_args=${shield:+-DSHIELD=\"$shield\"}" >> $GITHUB_ENV
- echo "display_name=${shield:+$shield - }${{ matrix.board }}" >> $GITHUB_ENV
- echo "artifact_name=${shield:+$shield-}${{ matrix.board }}-zmk" >> $GITHUB_ENV
+ echo "display_name=${shield:+$shield - }${board}" >> $GITHUB_ENV
+ echo "artifact_name=${artifact_name:-\"${shield:+$shield-}${board}-zmk\"}" >> $GITHUB_ENV
- name: Checkout
uses: actions/checkout@v3