mirror of
https://github.com/wled/WLED.git
synced 2025-07-10 20:36:32 +00:00
Set build version during nightly build
This commit is contained in:
parent
bb0c0af189
commit
ec7a7f4c25
8
.github/workflows/nightly.yml
vendored
8
.github/workflows/nightly.yml
vendored
@ -8,7 +8,15 @@ on:
|
|||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
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:
|
wled_build:
|
||||||
|
needs: prep
|
||||||
uses: ./.github/workflows/build.yml
|
uses: ./.github/workflows/build.yml
|
||||||
nightly:
|
nightly:
|
||||||
name: Deploy nightly
|
name: Deploy nightly
|
||||||
|
Loading…
x
Reference in New Issue
Block a user