Skip to content

fixing the release workflow by adding setup #6

fixing the release workflow by adding setup

fixing the release workflow by adding setup #6

Workflow file for this run

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

View workflow run for this annotation

GitHub Actions / release-workflow

Invalid workflow file

The workflow is not valid. .github/workflows/release.yml (Line: 16, Col: 9): 'uses' is already defined .github/workflows/release.yml (Line: 17, Col: 9): Unexpected value 'run'
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