Revert "Combine QMK & Vial GitHub Actions" changes.

Sadly the #3 approach failed with a clash in the upload name.
This commit is contained in:
Peter J. A. Cock 2025-06-30 12:57:52 +09:00
commit d0f1bffd2d
3 changed files with 27 additions and 14 deletions

View file

@ -6,7 +6,7 @@ permissions:
contents: write contents: write
jobs: jobs:
build_qmk: build:
name: 'QMK Userspace Build' name: 'QMK Userspace Build'
uses: qmk/.github/.github/workflows/qmk_userspace_build.yml@main uses: qmk/.github/.github/workflows/qmk_userspace_build.yml@main
with: with:
@ -14,16 +14,8 @@ jobs:
qmk_ref: master qmk_ref: master
preparation_command: 'for KB in "$GITHUB_WORKSPACE/keyboards/*/"; do ln -s $KB qmk_firmware/keyboards/ ; done' preparation_command: 'for KB in "$GITHUB_WORKSPACE/keyboards/*/"; do ln -s $KB qmk_firmware/keyboards/ ; done'
build_vial:
name: 'Vial Userspace Build'
uses: qmk/.github/.github/workflows/qmk_userspace_build.yml@main
with:
qmk_repo: vial-kb/vial-qmk
qmk_ref: vial
preparation_command: 'cp $GITHUB_WORKSPACE/vial.json $GITHUB_WORKSPACE/qmk.json && for KB in "$GITHUB_WORKSPACE/keyboards/*/"; do ln -s $KB qmk_firmware/keyboards/ ; done'
publish: publish:
name: 'QMK/Vial Userspace Publish' name: 'QMK Userspace Publish'
uses: qmk/.github/.github/workflows/qmk_userspace_publish.yml@main uses: qmk/.github/.github/workflows/qmk_userspace_publish.yml@main
if: github.ref == 'refs/heads/main' && always() && !cancelled() if: github.ref == 'refs/heads/main' && always() && !cancelled()
needs: [build_qmk, build_vial] needs: build

View file

@ -0,0 +1,21 @@
name: Build Vial firmware
on: [push, workflow_dispatch]
permissions:
contents: write
jobs:
build:
name: 'Vial Userspace Build'
uses: qmk/.github/.github/workflows/qmk_userspace_build.yml@main
with:
qmk_repo: vial-kb/vial-qmk
qmk_ref: vial
preparation_command: 'cp $GITHUB_WORKSPACE/vial.json $GITHUB_WORKSPACE/qmk.json && for KB in "$GITHUB_WORKSPACE/keyboards/*/"; do ln -s $KB qmk_firmware/keyboards/ ; done'
publish:
name: 'Vial Userspace Publish'
uses: qmk/.github/.github/workflows/qmk_userspace_publish.yml@main
if: github.ref == 'refs/heads/main' && always() && !cancelled()
needs: build

View file

@ -15,9 +15,9 @@ so that I can experiment with keyboards and layouts without the overhead of the
Here are the [latest compiled firmwares](https://github.com/peterjc/qmk_userspace/releases/tag/latest) Here are the [latest compiled firmwares](https://github.com/peterjc/qmk_userspace/releases/tag/latest)
for my keyboards/layout compiled using [QMK Userspace GitHub for my keyboards/layout compiled using [QMK Userspace GitHub
Actions](.github/workflows/build_binaries.yaml) with a tweak to the compile new Actions](.github/workflows/build_binaries.yaml) with a tweak to the compile new
keyboards and *both* QMK and Vial layouts. That uses the [Vial fork of the QMK keyboard(s), and a second workflow to build the Vial layouts against the [Vial fork of
firmware](https://github.com/vial-kb/vial-qmk/) repository, and [vial.json](vial.json) the QMK firmware](https://github.com/vial-kb/vial-qmk/) repository, where
rather than [qmk.json](qmk.json) lists the layouts to build. [vial.json](vial.json) rather than [qmk.json](qmk.json) lists the layouts to build.
------------------------------------------------------------------------------ ------------------------------------------------------------------------------