Skip to content

Commit

Permalink
ci: workflow: fix android package (#1319)
Browse files Browse the repository at this point in the history
  • Loading branch information
clementperon authored Feb 24, 2024
1 parent 9f94199 commit a93506c
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -283,16 +283,16 @@ jobs:
find . -name example-app -type d -exec rm -r {} +
find . -name cmake -type d -exec rm -r {} +
find . -name pkgconfig -type d -exec rm -r {} +
mv ${COMBINED_PACKAGE_DIR}/include/pcapplusplus/* ${COMBINED_PACKAGE_DIR}/include/
rmdir ${COMBINED_PACKAGE_DIR}/include/pcapplusplus/
mkdir -p android-package
mv ${COMBINED_PACKAGE_DIR} android-package
mv ${COMBINED_PACKAGE_DIR}/include/pcapplusplus/* "${COMBINED_PACKAGE_DIR}/include/"
rmdir "${COMBINED_PACKAGE_DIR}/include/pcapplusplus/"
mkdir -p "android-package"
mv "${COMBINED_PACKAGE_DIR}" "android-package"
- uses: actions/upload-artifact@v4
with:
name: android-package
if-no-files-found: error
path: android-package
name: android-package-${{ matrix.target }}-${{ matrix.api-version }}
if-no-files-found: error

android-package:
needs: android-build
Expand All @@ -301,7 +301,8 @@ jobs:
steps:
- uses: actions/download-artifact@v4
with:
name: android-package
pattern: android-package-*
merge-multiple: true

- name: Package into archive
run: |
Expand Down

0 comments on commit a93506c

Please sign in to comment.