fixing the release workflow by adding setup #6
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: Build | ||
uses: ./.github/actions/setup | ||
uses: ./.github/actions/build | ||
Check failure on line 16 in .github/workflows/release.yml GitHub Actions / release-workflowInvalid workflow file
|
||
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: | | ||
Release-${{ github.ref_name }}.txt | ||
build/*.elf | ||
build/*.bin | ||
LICENSE |