mirror of
https://github.com/letscontrolit/ESPEasy.git
synced 2026-07-27 19:57:38 +00:00
build everything
This commit is contained in:
@@ -50,6 +50,7 @@ jobs:
|
||||
env:
|
||||
CHIP: ${{ matrix.chip }}
|
||||
ENV: ${{ matrix.env }}
|
||||
continue-on-error: true
|
||||
run: |
|
||||
python tools/ci/build-and-archive.py
|
||||
- uses: actions/upload-artifact@v2
|
||||
|
||||
@@ -4,6 +4,10 @@ from itertools import chain
|
||||
from github import Github
|
||||
|
||||
|
||||
class NoZipFilesFound(Exception):
|
||||
pass
|
||||
|
||||
|
||||
def find_zip(directory):
|
||||
return pathlib.Path(directory).glob("**/*.zip")
|
||||
|
||||
@@ -14,6 +18,8 @@ if __name__ == "__main__":
|
||||
archives = [
|
||||
str(zip_file) for zip_file in chain(find_zip("Binaries"), find_zip("artifact"))
|
||||
]
|
||||
if not archives:
|
||||
raise NoZipFilesFound
|
||||
|
||||
tag = os.environ["GITHUB_REF"][len("refs/tags/") :]
|
||||
message = os.environ.get("RELEASE_NOTES", tag)
|
||||
|
||||
Reference in New Issue
Block a user