Update main.yml

This commit is contained in:
Stephan Mühl
2023-03-23 22:05:01 +01:00
committed by GitHub
parent cc81ebde3c
commit f93ab028a6

View File

@@ -3,6 +3,7 @@ permissions:
contents: write
on:
push:
branches: [ main ]
paths:
- 'src/**'
- 'lib/**'
@@ -76,6 +77,9 @@ jobs:
run: |
echo "::set-output name=firmware_version::$(grep '*VERSION' src/Globals.cpp | cut -d'=' -f2 | sed -r 's/"(.*)";/\1/' | awk '{$1=$1};1')"
- name: Create Versionfile
run: echo '${{ steps.version_number.outputs.firmware_version }}' > version
- name: Download firmware
uses: actions/download-artifact@v2
with: