Merge pull request #3 from tillnelown/main

fix: missing parameter specification `mindepth'  in `find` command
This commit is contained in:
oSumAtrIX 2022-05-20 15:13:25 +02:00 committed by GitHub
commit 43ecfde266
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 3 deletions

View File

@ -38,11 +38,10 @@ jobs:
cd extracted_packages/data/data/com.termux/files/usr/
rm -r include/ share/ lib/pkgconfig/ lib/cmake/
# TODO: find a way to exclude deleting the bin directory itself, because it exits with code != 0
find bin ! -name 'aapt2' -exec rm -f {} + || true
find bin ! -name 'aapt2' -mindepth 1 -exec rm -f {} +
- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
name: aapt-${{ matrix.target_arch }}-${{ github.sha }}
path: output/extracted_packages/data/data/com.termux/files/usr/
path: output/extracted_packages/data/data/com.termux/files/usr/