From 22b6f7d3424731f16ba59a39e48c56af86a0472a Mon Sep 17 00:00:00 2001 From: Mikhail Anikin Date: Mon, 28 Oct 2024 14:49:57 +0200 Subject: [PATCH] [CI] Upload artifacts in the PR --- .github/workflows/build.yml | 7 +++++++ .gitignore | 2 ++ 2 files changed, 9 insertions(+) create mode 100644 .gitignore diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 34fb787..15860c6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -55,6 +55,13 @@ jobs: mkdir -p s3 cp AArch64_output/Flash_Writer_SCIF_${{ matrix.device }}_HUMMINGBOARD_DDR4_${{ matrix.ddr_size }}.mot s3 + - name: Upload to GitHub + uses: actions/upload-artifact@v4 + if: github.event_name == 'pull_request' + with: + name: Flash_Writer_SCIF_${{ matrix.device }}_HUMMINGBOARD_DDR4_${{ matrix.ddr_size }}.mot + path: s3/Flash_Writer_SCIF_${{ matrix.device }}_HUMMINGBOARD_DDR4_${{ matrix.ddr_size }}.mot + - name: Upload to S3 uses: shallwefootball/upload-s3-action@v1.3.3 if: github.event_name == 'push' diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..d578095 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +AArch64_obj +AArch64_output \ No newline at end of file