Skip to content

Commit abc8af3

Browse files
committed
ci: upload artifacts to github on pull-requests
1 parent 22bc35e commit abc8af3

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/build.yml

+8
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,14 @@ jobs:
9696
install -v -m644 -D SPL deploy/spl-imx6-spi
9797
install -v -m644 -D u-boot.img deploy/u-boot-imx6-spi.img
9898
99+
- name: Upload to GitHub
100+
uses: actions/upload-artifact@v4
101+
if: github.event_name == 'pull_request'
102+
with:
103+
name: imx6-uboot-${{ steps.tag_step.outputs.build_ver }}_${{ steps.tag_step.outputs.build_tag }}
104+
path: deploy/
105+
if-no-files-found: error
106+
99107
- name: Upload to S3
100108
if: github.ref == 'refs/heads/v2018.01-solidrun-imx6' && github.event_name != 'pull_request'
101109
uses: shallwefootball/[email protected]

0 commit comments

Comments
 (0)