Skip to content

Commit

Permalink
fix: android
Browse files Browse the repository at this point in the history
  • Loading branch information
hiddify-com committed Jul 20, 2023
1 parent 021ebdf commit 530bf77
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,17 @@ jobs:
- name: Release ${{ matrix.platform }}
run: |
make ${{ matrix.platform }}-release
- name: Copy to out
run: |
mkdir out
find ./ -type f -name "$(echo '*.${{ matrix.targets }}'| tr ',' ' ')" -exec cp {} out \;
IFS=',' read -r -a EXT_ARRAY <<< "${{ matrix.targets }}"
# Loop over extensions
for EXT in "${EXT_ARRAY[@]}"; do
# Find all files with this extension in SRC_DIR, and copy them to DST_DIR
find "." -type f -name "*.$EXT" -exec cp {} "out" \;
done
- uses: actions/upload-artifact@v3
with:
Expand Down

0 comments on commit 530bf77

Please sign in to comment.