Produce a workable usb_multitouch for upstreaming #46
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and/or Release | |
on: push | |
permissions: | |
contents: write | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Update apt | |
run: sudo apt-get -y update | |
- name: Install sdcc | |
run: sudo apt-get install -y sdcc | |
- name: Run make bin | |
run: make bin | |
- name: Run make hex | |
run: make hex | |
- name: Store artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: touchkey-firmware | |
path: | | |
touch.bin | |
touch.hex | |
- name: Release | |
uses: softprops/action-gh-release@v2 | |
if: startsWith(github.ref, 'refs/tags/') | |
with: | |
files: | | |
touch.bin | |
touch.hex |