Skip to content

Commit

Permalink
Build develop boards only and publish as prerelease
Browse files Browse the repository at this point in the history
  • Loading branch information
burkfers committed Feb 7, 2025
1 parent 3671633 commit 722fe10
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_binaries.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ jobs:

publish:
name: 'QMK Userspace Publish'
uses: qmk/.github/.github/workflows/qmk_userspace_publish.yml@main
uses: bastardkb/qmk_userspace/.github/workflows/qmk_userspace_publish_develop.yml@develop
if: always() && !cancelled()
needs: build
35 changes: 35 additions & 0 deletions .github/workflows/qmk_userspace_publish_develop.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Build Binaries

on:
workflow_call:

permissions:
contents: write

jobs:
publish:
name: Publish
if: always() && !cancelled()
runs-on: ubuntu-latest

steps:
- name: Download binaries
if: always() && !cancelled()
uses: actions/download-artifact@v4
with:
name: Firmware

- name: Generate Release
uses: softprops/action-gh-release@v2
if: always() && !cancelled()
with:
token: ${{ github.token }}
name: Latest QMK Firmware Prerelease
tag_name: ${{ 'prerelease' }}
fail_on_unmatched_files: false
draft: false
prerelease: true
files: |
**/*.hex
**/*.bin
**/*.uf2
12 changes: 2 additions & 10 deletions qmk.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,6 @@
{
"userspace_version": "1.0",
"build_targets": [
["bastardkb/charybdis/4x6", "vendor"],
["bastardkb/charybdis/3x6", "vendor"],
["bastardkb/charybdis/3x5", "vendor"],
["bastardkb/dilemma/4x6_4", "vendor"],
["bastardkb/dilemma/3x5_3", "vendor"],
["bastardkb/dilemma/3x5_2", "vendor"],
["bastardkb/scylla", "vendor"],
["bastardkb/tbkmini", "vendor"],
["bastardkb/skeletyl", "vendor"]
["bastardkb/dilemma/3x5_3_procyon", "vendor"]
]
}
}

0 comments on commit 722fe10

Please sign in to comment.