Skip to content

Commit

Permalink
new
Browse files Browse the repository at this point in the history
lhuanyun committed Oct 23, 2024
1 parent 793c45f commit 2248674
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -20,12 +20,18 @@ jobs:
target: arm64

steps:
- uses: actions/checkout@v4
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
repository: lhuanyun/luci
ref: main

- name: Setup Git
run: |
git config --global --add safe.directory $GITHUB_WORKSPACE
git config --global --unset http.https://github.com/.extraheader || true
- name: Determine branch name
run: |
BRANCH="main"
@@ -47,17 +53,17 @@ jobs:
- name: Move created packages to project dir
run: |
mkdir -p output
find bin/packages/${{ matrix.arch }}/packages_ci -name 'luci-*.ipk' -exec cp {} output/ \;
find bin/packages/${{ matrix.arch }}/packages_ci -name 'luci-*.ipk' -exec cp {} output/ \; || true
- name: Debug - List package contents
run: |
for ipk in output/*.ipk; do
echo "Contents of $ipk:"
ar x "$ipk" data.tar.gz
tar -tvzf data.tar.gz | grep -E 'luci|commands'
ar x "$ipk" data.tar.gz || continue
tar -tvzf data.tar.gz | grep -E 'luci|commands' || true
echo "Full content of $ipk:"
tar -tvzf data.tar.gz
rm data.tar.gz
tar -tvzf data.tar.gz || true
rm -f data.tar.gz
done
- name: Store packages

0 comments on commit 2248674

Please sign in to comment.