feat: Allow manual trigger of CI #1
Workflow file for this run
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: Main | |
on: | |
push: | |
workflow_dispatch: | |
jobs: | |
release: | |
# We use Ubuntu 20.04 to have an older version of the file tool. | |
# If we used a newer Ubuntu it it would complain about incompatible magic | |
# file format on older Ubuntu versions. | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install Make | |
run: sudo apt-get install make | |
- name: Build | |
run: make all | |
- name: Release | |
uses: softprops/action-gh-release@v1 | |
if: startsWith(github.ref, 'refs/tags/') | |
with: | |
files: firmware.mgc |