Update main.yml
This commit is contained in:
4
.github/workflows/main.yml
vendored
4
.github/workflows/main.yml
vendored
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user