Commit graph

32 commits

Author SHA1 Message Date
8c10a663b6 update workflow to run on ubuntu 24.04 2025-02-11 11:24:50 -06:00
Kattni
c9ab47f8cb
Revert token update. 2023-06-24 17:37:20 -04:00
Kattni
e9a6a43093
Without the whitespace. 2023-06-24 17:21:42 -04:00
Kattni
0589c4c823
Try that again. 2023-06-24 17:16:21 -04:00
Kattni
8707425a5e
Add workflow_dispatch 2023-06-24 17:12:05 -04:00
Kattni
c04323dabe
Update GitHub token secret name.
Attempting to resolve a CI failure. Will revert if there is no change.
2023-06-24 17:01:15 -04:00
Alec Delaney
da6854b734 Update CI 2023-02-07 12:49:44 -05:00
b8a8081c40
update all links to docs.circuitpython.org 2022-11-09 11:52:33 -06:00
Dan Halbert
bdc2117ac4
Merge pull request #405 from FoamyGuy/limit_images_to_adafruit
limit image workflow to adafruit fork
2022-10-03 21:12:28 -04:00
foamyguy
6098a4e3ad limit image workflow to adafruit fork 2022-10-03 15:08:55 -05:00
foamyguy
7cc7d814c1 revert time change 2022-09-30 17:43:49 -05:00
foamyguy
21d9716158 new time 2022-09-30 17:21:04 -05:00
foamyguy
234a0828d8 try change name of group 2022-09-30 17:02:28 -05:00
9e71a0a391
print github context in a different way
In a recent build [with an unusually long change message?] this failed, due to the overall limit on environment variable size in Linux:
```
An error occurred trying to start process '/usr/bin/bash' with working directory '/home/runner/work/Adafruit_CircuitPython_Bundle/Adafruit_CircuitPython_Bundle'. Argument list too long
```

https://github.com/adafruit/Adafruit_CircuitPython_Bundle/actions/runs/2459215636
[link will work for a limited time due to github actions log expiration
policy]

The new printed value may not be 100% the same as the old one but it's
real close.
2022-06-08 12:35:12 +02:00
Dan Halbert
1ed7ae78b1 update CI Python to 3.10 2021-12-15 09:29:14 -05:00
Dan Halbert
9d0ddc70ac special-case asyncio package 2021-12-14 11:42:28 -05:00
Dan Halbert
52044ef605
print GITHUB_CONTEXT without using echo
build.yml failed because `echo "$GITHUB_CONTEXT" caused an `argument list too long` error.

Try printing GITHUB_CONTEXT with `printenv` instead, to avoid this.
2021-11-16 08:28:22 -05:00
James Carr
9673185137 Call pre-commit from the build workflow 2021-07-05 11:38:20 +01:00
James Carr
77b49bc1ee Successfully run reuse, ready for pre-commit 2021-07-05 11:28:54 +01:00
James Carr
0893af1bd2 Prepare to pass pre-commit 2021-07-03 07:15:58 +01:00
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