Skip to content

Commit

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

steps:
- name: Checkout code
uses: actions/checkout@v4
- 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"
Expand All @@ -53,17 +47,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/ \; || true
find bin/packages/${{ matrix.arch }}/packages_ci -name 'luci-*.ipk' -exec cp {} output/ \;
- name: Debug - List package contents
run: |
for ipk in output/*.ipk; do
echo "Contents of $ipk:"
ar x "$ipk" data.tar.gz || continue
tar -tvzf data.tar.gz | grep -E 'luci|commands' || true
ar x "$ipk" data.tar.gz
tar -tvzf data.tar.gz | grep -E 'luci|commands'
echo "Full content of $ipk:"
tar -tvzf data.tar.gz || true
rm -f data.tar.gz
tar -tvzf data.tar.gz
rm data.tar.gz
done
- name: Store packages
Expand Down

0 comments on commit 2e98e58

Please sign in to comment.