mirror of
https://github.com/wled/WLED.git
synced 2025-04-24 06:47:18 +00:00
Reapply "Set build version during nightly build" - doesn't work as source
This reverts commit 471bd83eb2dd9fa3636d89b884378cb6a65e62ad.
This commit is contained in:
parent
471bd83eb2
commit
2aab617c2e
8
.github/workflows/nightly.yml
vendored
8
.github/workflows/nightly.yml
vendored
@ -8,7 +8,15 @@ 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
|
||||
|
Loading…
x
Reference in New Issue
Block a user