Commit graph

12 commits

Author SHA1 Message Date
Jeff Epler
c831d46153 images: don't update based on pushes to master
This causes build failures, because these are usually the "automated
update by adabot", and when the workflow runs the new release has
been created but the metadata is not yet available.

Instead, rely on the cron coming a few hours after adabot so that
the metadata is created & ready.

Typical failure:
```
Requesting redirect information: https://github.com/adafruit/Adafruit_CircuitPython_Bundle/releases/latest
Tag: '20210531'
New version available 20210531.
get bundle metadata from https://adafruit-circuit-python.s3.amazonaws.com/bundles/adafruit/adafruit-circuitpython-bundle-20210531.json
    from get_imports import (
  File "/home/runner/work/Adafruit_CircuitPython_Bundle/Adafruit_CircuitPython_Bundle/CircuitPython_Library_Screenshot_Maker/get_imports.py", line 107, in <module>
    bundle_data = json.load(f)
  File "/opt/hostedtoolcache/Python/3.9.5/x64/lib/python3.9/json/__init__.py", line 293, in load
    return loads(fp.read(),
  File "/opt/hostedtoolcache/Python/3.9.5/x64/lib/python3.9/json/__init__.py", line 346, in loads
    return _default_decoder.decode(s)
  File "/opt/hostedtoolcache/Python/3.9.5/x64/lib/python3.9/json/decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/opt/hostedtoolcache/Python/3.9.5/x64/lib/python3.9/json/decoder.py", line 355, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
```
2021-05-31 10:18:59 -05:00
Jeff Epler
b2dc0a5c35 correct commandline again 2021-05-27 11:00:36 -05:00
Jeff Epler
835636c4b7 include submmodules 2021-05-27 10:49:08 -05:00
Jeff Epler
ece2cf6bd7 fix find commandline 2021-05-27 10:45:25 -05:00
Jeff Epler
6641a61c79 Add workflow to build folder images for examples
.. this will not work until https://github.com/circuitpython/CircuitPython_Library_Screenshot_Maker/pull/5 is merged.
2021-05-27 09:00:44 -05:00
dherrada
3c0c734463 Moved CI to Python 3.7
Signed-off-by: dherrada <dylan.herrada@adafruit.com>
2021-05-24 11:40:41 -04:00
dherrada
d761a6bcff Added help text and problem matcher
Signed-off-by: dherrada <dylan.herrada@adafruit.com>
2021-05-19 15:20:20 -04:00
dherrada
8cb6503165 Added pull request template
Signed-off-by: dherrada <dylan.herrada@adafruit.com>
2021-05-19 14:08:43 -04:00
Melissa LeBlanc-Williams
440e88e2c7 Added GitHub Actions to upload assets to S3 2021-03-25 11:06:08 -07:00
sommersoft
0e10f3a829 re-add apt install of gettext; required for mpy-cross via build tools 2020-01-12 00:12:50 -06:00
dherrada
7adbcbaf32 Made changes requested by @sommersoft 2020-01-11 20:28:57 -05:00
dherrada
2281afbcc6 Moved repository from Travis to GitHub Actions 2020-01-10 23:02:40 -05:00