Skip to content

Commit 102e07c

Browse files
committed
use build.sh in release actions
1 parent 6ef91d6 commit 102e07c

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

Diff for: .github/workflows/release.yml

+1-9
Original file line numberDiff line numberDiff line change
@@ -34,16 +34,8 @@ jobs:
3434
run: |
3535
sudo apt-get install -y gettext gawk
3636
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-
)
4537
- 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 }}
38+
run: ./build.sh
4739
- name: Upload Release Assets
4840
# the 'official' actions version does not yet support dynamically
4941
# supplying asset names to upload. @csexton's version chosen based on

0 commit comments

Comments
 (0)