Skip to content

Commit 6ab461b

Browse files
committed
ci: add artifact download
1 parent 412f0a6 commit 6ab461b

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/ubuntu.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ on:
1111

1212
env:
1313
build_dir: "build"
14+
artifact: "cubool-ubuntu-build.tar.xz"
1415

1516
jobs:
1617
build:
@@ -25,7 +26,6 @@ jobs:
2526
gcc: 9
2627
env:
2728
config: "Release"
28-
artifact: "cubool-ubuntu-build.tar.xz"
2929

3030
steps:
3131
- uses: actions/checkout@v4
@@ -63,6 +63,16 @@ jobs:
6363
regression-test-file: cpu_test_regression.log
6464

6565
steps:
66+
- uses: actions/download-artifact@v4
67+
with:
68+
name: ${{ env.artifact }}
69+
70+
- name: Unarchive artifact
71+
run: |
72+
tar xzf ${{ env.artifact }}
73+
rm ${{ env.artifact }}
74+
ls
75+
6676
- name: Run unit-tests
6777
working-directory: ${{ env.build_dir }}
6878
run: |

0 commit comments

Comments
 (0)