Skip to content

Commit 218b2b4

Browse files
committed
Update the CI script to use build.sh
1 parent bfa27d4 commit 218b2b4

File tree

1 file changed

+1
-17
lines changed

1 file changed

+1
-17
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,6 @@ jobs:
1010
env:
1111
GITHUB_CONTEXT: ${{ toJson(github) }}
1212
run: echo "$GITHUB_CONTEXT"
13-
- name: Translate Repo Name For Build Tools filename_prefix
14-
id: repo-name
15-
run: |
16-
echo ::set-output name=repo-name::$(
17-
echo ${{ github.repository }} |
18-
awk -F '\/' '{ print tolower($2) }' |
19-
tr '_' '-'
20-
)
2113
- name: Set up Python 3.6
2214
uses: actions/setup-python@v1
2315
with:
@@ -34,13 +26,5 @@ jobs:
3426
pip install -r requirements.txt
3527
- name: Library version
3628
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-
)
4529
- 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 }}
30+
run: ./build.sh

0 commit comments

Comments
 (0)