Skip to content

Commit 3d8bb9d

Browse files
committed
ci: upload artifacts to github on pull-requests
1 parent bd95678 commit 3d8bb9d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/build.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,14 @@ jobs:
159159
make -j$(nproc)
160160
install -v -m644 -D u-boot-with-spl.kwb deploy/u-boot-clearfog-base-uart.kwb
161161
162+
- name: Upload to GitHub
163+
uses: actions/upload-artifact@v4
164+
if: github.event_name == 'pull_request'
165+
with:
166+
name: a38x-uboot-${{ steps.tag_step.outputs.build_ver }}_${{ steps.tag_step.outputs.build_tag }}
167+
path: deploy/
168+
if-no-files-found: error
169+
162170
- name: Upload to S3
163171
if: github.ref == 'refs/heads/v2024.04-solidrun-a38x' && github.event_name != 'pull_request'
164172
uses: shallwefootball/upload-s3-action@v1.3.3

0 commit comments

Comments
 (0)