Skip to content

Commit ae7f8b0

Browse files
authored
Merge branch 'main' into license-changes
2 parents 58e3f91 + 182957d commit ae7f8b0

201 files changed

Lines changed: 11729 additions & 74 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/githubci.yml

Lines changed: 29 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@ jobs:
77
strategy:
88
fail-fast: false
99
matrix:
10-
arduino-platform: ["cpb", "cpc", "cpx_ada", "esp32", "esp8266", "feather32u4", "feather_m0_express", "feather_m4_express", "feather_rp2040", "flora", "funhouse", "gemma", "gemma_m0", "hallowing_m0", "hallowing_m4_tinyusb", "magtag", "metro_m0", "metro_m0_tinyusb", "metro_m4", "metro_m4_tinyusb", "monster_m4sk", "monster_m4sk_tinyusb", "neokeytrinkey_m0", "neotrellis_m4", "nrf52832", "nrf52840", "protrinket_5v", "proxlighttrinkey_m0", "pybadge", "pygamer", "pyportal", "qt2040_trinkey", "qtpy_m0", "rotarytrinkey_m0", "slidetrinkey_m0", "trinket_m0", "uno", "trinket_5v" ]
11-
# "trinket_5v", was removed
10+
arduino-platform: ["cpb", "cpc", "cpx_ada", "esp32", "esp8266", "feather32u4", "feather_m0_express", "feather_m4_express", "feather_rp2040", "flora", "funhouse", "gemma", "gemma_m0", "hallowing_m0", "hallowing_m4_tinyusb", "magtag", "metro_m0", "metro_m0_tinyusb", "metro_m4", "metro_m4_tinyusb", "monster_m4sk", "monster_m4sk_tinyusb", "neokeytrinkey_m0", "neotrellis_m4", "nrf52832", "nrf52840", "protrinket_5v", "proxlighttrinkey_m0", "pybadge", "pygamer", "pyportal", "qt2040_trinkey", "qtpy_m0", "rotarytrinkey_m0", "slidetrinkey_m0", "trinket_m0", "uno", "trinket_5v", "ledglasses_nrf52840" ]
1211
runs-on: ubuntu-18.04
1312

1413
steps:
@@ -39,6 +38,34 @@ jobs:
3938
- name: test platforms
4039
run: python3 ci/build_platform.py ${{ matrix.arduino-platform }}
4140

41+
- name: Upload build artifacts
42+
uses: actions/upload-artifact@v2
43+
with:
44+
name: ${{ github.event.repository.name }}.${{ github.sha }}
45+
path: |
46+
build/*.hex
47+
build/*.bin
48+
build/*.uf2
49+
50+
- name: Zip release files
51+
if: startsWith(github.ref, 'refs/tags/')
52+
run: |
53+
if [ -d build ]; then
54+
(
55+
echo "Built from Adafruit Learning System Guides `git describe --tags` for ${{ matrix.arduino-platform }}"
56+
echo "Source code: https://github.com/adafruit/"
57+
echo "Adafruit Learning System: https://learn.adafruit.com/"
58+
) > build/README.txt
59+
cd build && zip -9 -o ${{ matrix.arduino-platform }}.zip *.hex *.bin *.uf2 *.txt
60+
fi
61+
62+
- name: Create release
63+
if: startsWith(github.ref, 'refs/tags/')
64+
uses: softprops/action-gh-release@v1
65+
with:
66+
files: build/${{ matrix.arduino-platform }}.zip
67+
fail_on_unmatched_files: false
68+
body: "Select the zip file corresponding to your board from the list below."
4269

4370
pylint:
4471
runs-on: ubuntu-latest

3D_Printed_LED_Microphone_Flag/.circuitpython.skip

Lines changed: 0 additions & 1 deletion
This file was deleted.

3D_Printed_LED_Microphone_Flag/.gemma_m0.generate

Whitespace-only changes.

3D_Printed_LED_Microphone_Flag/code.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,9 +124,7 @@ def fscale(originalmin, originalmax, newbegin, newend, inputvalue, curve):
124124

125125
def drawLine(fromhere, to):
126126
if fromhere > to:
127-
fromheretemp = fromhere
128-
fromhere = to
129-
to = fromheretemp
127+
to, fromhere = fromhere, to
130128

131129
for index in range(fromhere, to):
132130
strip[index] = (0, 0, 0)

3D_Printed_Unicorn_Horn/.gemma_m0.generate

Whitespace-only changes.

3D_Printed_Unicorn_Horn/.gemma_m0.test.only

Whitespace-only changes.

Arduino_Ethernet_SD_Card/SDcardTest/SDcardTest.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
1515
created 28 Mar 2011 by Limor Fried
1616
modified 9 Apr 2012 by Tom Igoe
17-
modified 12 Apr 2018 by Mike Barela
17+
modified 12 Apr 2018 by Anne Barela
1818
*/
1919
// include the SD library:
2020
#include <SPI.h>

Arduino_Ethernet_SD_Card/SDfileList/SDfileList.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
created Nov 2010 by David A. Mellis
1313
modified 9 Apr 2012 by Tom Igoe
1414
modified 2 Feb 2014 by Scott Fitzgerald
15-
modified 12 Apr 2018 by Mike Barela
15+
modified 12 Apr 2018 by Anne Barela
1616
1717
This example code is in the public domain.
1818
File renamed without changes.

CLUE_Rock_Paper_Scissors/advanced/rps_advertisements/code.py renamed to CLUE_Rock_Paper_Scissors/advanced/rps_advertisements.py

File renamed without changes.

0 commit comments

Comments
 (0)