Browse Source

fix workflow

update short-sha version to 2.1
pull/421/head
lumapu 2 years ago
parent
commit
e606914c46
  1. 2
      .github/workflows/compile_development.yml
  2. 2
      tools/esp8266/scripts/getVersion.py

2
.github/workflows/compile_development.yml

@ -13,7 +13,7 @@ jobs:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
with: with:
ref: development03 ref: development03
- uses: benjlevesque/short-sha@v2.0 - uses: benjlevesque/short-sha@v2.1
id: short-sha id: short-sha
with: with:
length: 7 length: 7

2
tools/esp8266/scripts/getVersion.py

@ -1,7 +1,7 @@
import os import os
from datetime import date from datetime import date
def genOtaBin(path) def genOtaBin(path):
arr = [] arr = []
arr.append(1) arr.append(1)
arr.append(0) arr.append(0)

Loading…
Cancel
Save