Skip to content

Commit 7adbcba

Browse files
committed
Made changes requested by @sommersoft
1 parent 2281afb commit 7adbcba

File tree

2 files changed

+5
-20
lines changed

2 files changed

+5
-20
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -30,17 +30,11 @@ jobs:
3030
submodules: true
3131
- name: Install deps
3232
run: |
33-
sudo apt-get install -y gettext gawk
3433
pip install -r requirements.txt
3534
- name: Library version
3635
run: git describe --dirty --always --tags
37-
- name: Package Folder Prefix For circuitpython-build-tools (Community Bundle Specific)
38-
id: pkg-folder
39-
run: |
40-
echo ::set-output name=prefix::$(
41-
ls -RUx |
42-
gawk -F '\n' '{ match($1, /(drivers|helpers)\/(.+)\/(.+)\:/, arr) ; if (length(arr[0]) > 0 && match(arr[3], arr[2]) > 0) printf "%s, ", arr[3] }' |
43-
gawk '{ trimmed = substr($0, 1, length($0) - 2) ; print "\"" trimmed "\"" }'
44-
)
4536
- name: Build assets
46-
run: circuitpython-build-bundles --filename_prefix ${{ steps.repo-name.outputs.repo-name }} --library_location libraries --library_depth 2 --package_folder_prefix ${{ steps.pkg-folder.outputs.prefix }}
37+
run: circuitpython-build-bundles --filename_prefix ${{ steps.repo-name.outputs.repo-name }} --library_location libraries --library_depth 2
38+
- name: Build docs
39+
working-directory: docs
40+
run: sphinx-build -E -W -b html . _build/html

.github/workflows/release.yml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -32,18 +32,9 @@ jobs:
3232
submodules: true
3333
- name: Install deps
3434
run: |
35-
sudo apt-get install -y gettext gawk
3635
pip install -r requirements.txt
37-
- name: Package Folder Prefix For circuitpython-build-tools (Community Bundle Specific)
38-
id: pkg-folder
39-
run: |
40-
echo ::set-output name=prefix::$(
41-
ls -RUx |
42-
gawk -F '\n' '{ match($1, /(drivers|helpers)\/(.+)\/(.+)\:/, arr) ; if (length(arr[0]) > 0 && match(arr[3], arr[2]) > 0) printf "%s, ", arr[3] }' |
43-
gawk '{ trimmed = substr($0, 1, length($0) - 2) ; print "\"" trimmed "\"" }'
44-
)
4536
- name: Build assets
46-
run: circuitpython-build-bundles --filename_prefix ${{ steps.repo-name.outputs.repo-name }} --library_location libraries --library_depth 2 --package_folder_prefix ${{ steps.pkg-folder.outputs.prefix }}
37+
run: circuitpython-build-bundles --filename_prefix ${{ steps.repo-name.outputs.repo-name }} --library_location libraries --library_depth 2
4738
- name: Upload Release Assets
4839
# the 'official' actions version does not yet support dynamically
4940
# supplying asset names to upload. @csexton's version chosen based on

0 commit comments

Comments
 (0)