build everything

This commit is contained in:
Maxim Prokhorov
2021-02-24 23:20:24 +03:00
parent fd39cc5023
commit 3762f56b82
2 changed files with 7 additions and 0 deletions
+1
View File
@@ -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
+6
View File
@@ -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)