Skip to content

Commit af2d46c

Browse files
committed
Set VERSION
1 parent f4d89c4 commit af2d46c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,10 @@ jobs:
4040
with:
4141
node-version-file: '.nvmrc'
4242
cache: 'npm'
43-
- run: npm ci
43+
- run: |
44+
npm ci
45+
VERSION=`date +%y%m%d0`
46+
sed -i -r -e "s/define VERSION .+/define VERSION $VERSION/" wled00/wled.h
4447
- name: Cache PlatformIO
4548
uses: actions/cache@v4
4649
with:

0 commit comments

Comments
 (0)