mirror of
https://github.com/unraid/webgui.git
synced 2026-01-05 00:59:48 -06:00
chore: enhance debugging output in PR plugin generation scripts
- Added debug statements in `generate-pr-plugin.sh` to display the tarball path, backup directory, and list of files being processed, improving visibility during deployment. - Updated `pr-plugin-build.yml` to include output of the file list and tarball contents, aiding in verification and troubleshooting during the build process.
This commit is contained in:
8
.github/workflows/pr-plugin-build.yml
vendored
8
.github/workflows/pr-plugin-build.yml
vendored
@@ -83,11 +83,19 @@ jobs:
|
||||
|
||||
# Create tarball - consistent filename for updates
|
||||
cd build
|
||||
echo "Creating tarball with contents:"
|
||||
find usr/ -type f
|
||||
tar -czf ../webgui-pr-${{ github.event.pull_request.number }}.tar.gz usr/
|
||||
cd ..
|
||||
|
||||
# Generate file list for plugin
|
||||
find build/usr/local/emhttp -type f | sed 's|^build||' > file_list.txt
|
||||
echo "File list for plugin:"
|
||||
cat file_list.txt
|
||||
|
||||
# Verify tarball contents
|
||||
echo "Tarball contents:"
|
||||
tar -tzf webgui-pr-${{ github.event.pull_request.number }}.tar.gz
|
||||
|
||||
- name: Configure AWS CLI for R2
|
||||
if: steps.changed-files.outputs.has_changes == 'true'
|
||||
|
||||
Reference in New Issue
Block a user