mirror of
https://github.com/lumapu/ahoy.git
synced 2025-05-29 16:56:10 +02:00
workflow: Deprecating save-state fix
This commit is contained in:
parent
07b66635f3
commit
42e652c83a
3 changed files with 15 additions and 8 deletions
|
@ -35,7 +35,14 @@ def readVersion(path, infile):
|
|||
dst = path + "firmware/" + versionout
|
||||
os.rename(src, dst)
|
||||
|
||||
print("::set-output name=name::" + versionnumber[:-1] )
|
||||
# other ESP32 bin files
|
||||
src = path + ".pio/build/esp32-wroom32-release/"
|
||||
dst = path + "firmware/"
|
||||
os.rename(src + "bootloader.bin", dst + "bootloader.bin")
|
||||
os.rename(src + "partitions.bin", dst + "partitions.bin")
|
||||
|
||||
#print("::set-output name=name::" + versionnumber[:-1] )
|
||||
print("name=" + versionnumber[:-1] )
|
||||
|
||||
|
||||
readVersion("../", "defines.h")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue