Skip to content

Commit cc2c7f9

Browse files
committed
Add artifact upload and download steps to workflow
Signed-off-by: Nikola Radakovic <nikola.ra.radakovic@bmw.de>
1 parent 2e0d59b commit cc2c7f9

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

.github/workflows/aarch64-linux.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,24 @@ jobs:
3939
- name: Bazel Build (basic)
4040
run: |
4141
bazel build --config target_config_3 -- //...
42+
- name: Bazel Build (basic)
43+
run: |
44+
ls -la ./
45+
- name: Upload artifact
46+
uses: actions/upload-artifact@v4
47+
with:
48+
name: build-output
49+
path: examples/bazel-bin/
50+
run_on_target:
51+
runs-on: ubuntu-24.04-arm
52+
needs: target_config_3
53+
steps:
54+
- name: Download artifact
55+
uses: actions/download-artifact@v5
56+
with:
57+
name: build-output
58+
path: downloaded/
59+
- name: Use artifact
60+
run: |
61+
./downloaded/bazel-bin/main_cpp
4262

0 commit comments

Comments
 (0)