mirror of
https://github.com/jhbruhn/butns.git
synced 2025-07-05 02:28:49 +00:00
35 lines
No EOL
769 B
YAML
35 lines
No EOL
769 B
YAML
name: Publish
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- '*'
|
|
|
|
jobs:
|
|
build-stls:
|
|
uses: ./.github/workflows/build-stls.yml
|
|
compile-sketch:
|
|
uses: ./.github/workflows/compile-sketch.yml
|
|
publish:
|
|
name: Publish binaries
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Download firmware artifact
|
|
uses: actions/download-artifact@v4
|
|
with:
|
|
name: firmware
|
|
- name: Download case artifact
|
|
uses: actions/download-artifact@v4
|
|
with:
|
|
name: case
|
|
- name: Download buttons artifact
|
|
uses: actions/download-artifact@v4
|
|
with:
|
|
name: buttons
|
|
- name: Release
|
|
uses: softprops/action-gh-release@v2
|
|
if: startsWith(github.ref, 'refs/tags/')
|
|
with:
|
|
files: |
|
|
*.uf2
|
|
*.stl |