Revert "Reapply "Set build version during nightly build" - doesn't work as source"

This reverts commit 2aab617c2e2d3f49ba786532b0e44508659f1fae.
This commit is contained in:
Will Tatam 2025-01-10 17:09:25 +00:00
parent 3502a39181
commit c4e697d797

View File

@ -8,15 +8,7 @@ on:
workflow_dispatch:
jobs:
prep:
runs-on: ubuntu-latest
steps:
- name: Set Version
run: |
VERSION=`date +%y%m%d0`
sed -i -r -e "s/#define VERSION .+/#define VERSION $VERSION/" wled00/wled.h
wled_build:
needs: prep
uses: ./.github/workflows/build.yml
nightly:
name: Deploy nightly