Skip to content

Commit

Permalink
Update compile_all.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Spooks4576 committed Nov 14, 2024
1 parent 7e81ee5 commit 41443a3
Showing 1 changed file with 13 additions and 8 deletions.
21 changes: 13 additions & 8 deletions .github/workflows/compile_all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,20 +91,25 @@ jobs:
echo "Bootloader downloaded successfully."
fi
- name: Package Artifacts
- name: Package Artifacts into ZIP
run: |
mkdir -p packaged_artifacts
cp build/partition_table/partition-table.bin packaged_artifacts/
cp build/*.bin packaged_artifacts/
cp build/bootloader.bin packaged_artifacts/
echo "Packaging artifacts:"
ls -lh packaged_artifacts/
ARTIFACT_DIR="packaged_artifacts"
ZIP_FILE="${{ matrix.target.zip_name }}"
mkdir -p "$ARTIFACT_DIR"
cp build/partition_table/partition-table.bin "$ARTIFACT_DIR/"
cp build/*.bin "$ARTIFACT_DIR/"
echo "Packaging into zip: $ZIP_FILE"
cd "$ARTIFACT_DIR"
zip "../$ZIP_FILE" ./*
cd ..
echo "Zip file $ZIP_FILE created."
ls -lh "$ZIP_FILE"
- name: Upload Build Artifacts to GitHub
uses: actions/upload-artifact@v3
with:
name: ${{ matrix.target.zip_name }}
path: packaged_artifacts
path: ${{ matrix.target.zip_name }}

upload_all:
name: Upload All to Cloudflare R2 and GitHub Release
Expand Down

0 comments on commit 41443a3

Please sign in to comment.