Skip to content

Commit 96be54a

Browse files
committed
A workflow to build the images
1 parent d3ee2f9 commit 96be54a

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/build-images.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# SPDX-FileCopyrightText: Copyright (c) 2019 Anthony Sottile
2+
#
3+
# SPDX-License-Identifier: MIT
4+
5+
name: build-images
6+
7+
on:
8+
pull_request:
9+
push:
10+
11+
jobs:
12+
build-images:
13+
runs-on: ubuntu-20.04
14+
steps:
15+
- uses: actions/checkout@v2
16+
- run: python3 -mpip install -r requirements.txt
17+
- run: git clone --depth=1 https://github.com/adafruit/Adafruit_Learning_System_Guides learn
18+
- run: env LEARN_GUIDE_REPO=learn/ python3 create_requirement_images.py
19+
- uses: actions/upload-artifact@v2
20+
with:
21+
name: images
22+
path: generated_images

0 commit comments

Comments
 (0)