Skip to content

Commit 102b392

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 102b392

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

.github/workflows/aarch64-linux.yml

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

0 commit comments

Comments
 (0)