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 ca256e8 commit 73b7492
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
- name: Set package to build
run: |
PACKAGES="luci-app-commands"
PACKAGES="luci-app-commands luci-base"
echo "Building $PACKAGES"
echo "PACKAGES=$PACKAGES" >> $GITHUB_ENV
Expand All @@ -47,16 +47,25 @@ jobs:
- name: Move created packages to project dir
run: |
mkdir -p output
find bin/packages/${{ matrix.arch }}/packages_ci -name 'luci-app-commands*.ipk' -exec cp {} output/ \;
find bin/packages/${{ matrix.arch }}/packages_ci -name 'luci-*.ipk' -exec cp {} output/ \;
- name: Store packages
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.arch}}-luci-app-commands
name: ${{ matrix.arch}}-luci-packages
path: "output/*.ipk"

- name: Store logs
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.arch}}-logs
path: logs/

- 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'
rm data.tar.gz
done

0 comments on commit 73b7492

Please sign in to comment.