Skip to content

Grab newer toolchain to unbreak GitHub Actions #42

Grab newer toolchain to unbreak GitHub Actions

Grab newer toolchain to unbreak GitHub Actions #42

name: Build QMK firmware
on: [push, workflow_dispatch]
permissions:
contents: write
jobs:
build:
name: 'QMK Userspace Build'
uses: qmk/.github/.github/workflows/qmk_userspace_build.yml@main
with:
qmk_repo: qmk/qmk_firmware
qmk_ref: master
preparation_command: |
# Update avr-gcc toolchain to support -mrelax for smaller binaries.
set -e
apt update && apt -y install curl
mkdir -p ~/sdk/qmk
curl -Lf https://github.com/qmk/qmk_toolchains/releases/download/v14.2.0-3/qmk_toolchains-gcc14.2.0-host_linuxX64.tar.xz | tar -Jxf - -C ~/sdk/qmk --strip-components=1
printf "%s/sdk/qmk/bin\n" "$HOME" >>"$GITHUB_PATH"
publish:
name: 'QMK Userspace Publish'
uses: qmk/.github/.github/workflows/qmk_userspace_publish.yml@main
if: always() && !cancelled()
needs: build