Skip to content

Commit 26a51b1

Browse files
committed
Added artifact upload step for each GitHub Actions platform workflow
1 parent 591f4a6 commit 26a51b1

File tree

3 files changed

+30
-0
lines changed

3 files changed

+30
-0
lines changed

.github/workflows/macOS.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,13 @@ jobs:
2727
run: |
2828
cd ./bin/tests/build
2929
./app
30+
31+
- name: compress output
32+
shell: bash
33+
run: tar -cvf ./macos.tar -C ./output .
34+
35+
- name: upload artifacts
36+
uses: actions/upload-artifact@v4
37+
with:
38+
name: macos_output
39+
path: ./macos.tar

.github/workflows/ubuntu.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,13 @@ jobs:
3636
run: |
3737
cd ./bin/tests/build
3838
./app
39+
40+
- name: compress output
41+
shell: bash
42+
run: tar -cvf ./linux.tar -C ./output .
43+
44+
- name: upload artifacts
45+
uses: actions/upload-artifact@v4
46+
with:
47+
name: linux_output
48+
path: ./linux.tar

.github/workflows/windows.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,13 @@ jobs:
3030
run: |
3131
cd ./bin/tests/build
3232
./app.exe
33+
34+
- name: compress output
35+
shell: bash
36+
run: zip -m ./windows.zip ./output/**
37+
38+
- name: upload artifacts
39+
uses: actions/upload-artifact@v4
40+
with:
41+
name: windows_output
42+
path: ./windows.zip

0 commit comments

Comments
 (0)