Hmmm, fixing idents and space in yml #9
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: release-workflow | |
on: | |
push: | |
tags: | |
- "v*.*.*" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup environment | |
uses: ./.github/actions/setup | |
- name: Build | |
uses: ./.github/actions/build | |
#run: echo ${{ github.sha }} > Release-${{ github.ref_name }}.txt | |
- name: Test | |
run: cat Release-${{ github.ref_name }}.txt | |
- name: Release | |
uses: softprops/action-gh-release@v2 | |
if: startsWith(github.ref, 'refs/tags/') | |
with: | |
files: | | |
build/*.elf | |
build/*.bin | |
LICENSE | |
Release-${{ github.ref_name }}.txt |