Skip to content

feat: corne added from corne-wireless-view-zmk-config repo #9

feat: corne added from corne-wireless-view-zmk-config repo

feat: corne added from corne-wireless-view-zmk-config repo #9

Workflow file for this run

on: [push, pull_request, workflow_dispatch]
jobs:
name-params:
runs-on: ubuntu-latest
steps:
- name: prepare archive name parameters
id: set-date
shell: bash
run: echo "CURRENT_DATE=$(date +'%Y-%m-%d')" >> $GITHUB_OUTPUT
- name: set sha slice
id: set-sha
shell: bash
run: echo "SHA_SLICE=$(echo '${{ github.sha }}' | cut -c 1-6)" >> $GITHUB_OUTPUT
- name: output current date
shell: bash
run: echo ${{ steps.set-date.outputs.CURRENT_DATE }}
outputs:
CURRENT_DATE: ${{ steps.set-date.outputs.CURRENT_DATE }}
SHA_SLICE: ${{ steps.set-sha.outputs.SHA_SLICE }}
build:
needs: name-params
uses: zmkfirmware/zmk/.github/workflows/build-user-config.yml@2adaa00d1092e41ce11dfae46ce7d2a5bad97ead
with:
archive_name: zmk-senz-${{ needs.name-params.outputs.CURRENT_DATE }}-${{ needs.name-params.outputs.SHA_SLICE }}-${{ github.run_number }}