Skip to content

Commit

Permalink
ci: upload artifacts to github on pull-requests
Browse files Browse the repository at this point in the history
  • Loading branch information
Josua-SR committed Nov 22, 2024
1 parent bd95678 commit 3d8bb9d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,14 @@ jobs:
make -j$(nproc)
install -v -m644 -D u-boot-with-spl.kwb deploy/u-boot-clearfog-base-uart.kwb
- name: Upload to GitHub
uses: actions/upload-artifact@v4
if: github.event_name == 'pull_request'
with:
name: a38x-uboot-${{ steps.tag_step.outputs.build_ver }}_${{ steps.tag_step.outputs.build_tag }}
path: deploy/
if-no-files-found: error

- name: Upload to S3
if: github.ref == 'refs/heads/v2024.04-solidrun-a38x' && github.event_name != 'pull_request'
uses: shallwefootball/upload-s3-action@v1.3.3
Expand Down

0 comments on commit 3d8bb9d

Please sign in to comment.