Skip to content

Commit 12f04b5

Browse files
committed
Allow manual running of the workflow (and differentiate between architectures in the uploaded artifacts)
1 parent 4832af6 commit 12f04b5

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/cmake-multi-platform.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77
branches: [ "main" ]
88
pull_request:
99
branches: [ "main" ]
10+
workflow_dispatch:
1011

1112
jobs:
1213
build:
@@ -74,7 +75,7 @@ jobs:
7475
uses: actions/upload-artifact@v4.6.2
7576
with:
7677
# Artifact name
77-
name: libLuna_${{ matrix.build_type }}_${{ matrix.c_compiler }}.a
78+
name: libLuna_${{ matrix.architecture }}_${{ matrix.build_type }}_${{ matrix.c_compiler }}.a
7879
path: build/libLuna.a
7980
retention-days: 90
8081

@@ -83,7 +84,7 @@ jobs:
8384
uses: actions/upload-artifact@v4.6.2
8485
with:
8586
# Artifact name
86-
name: Luna_${{ matrix.build_type }}.lib
87+
name: Luna_${{ matrix.architecture }}_${{ matrix.build_type }}.lib
8788
path: build/${{ matrix.build_type }}/Luna.lib
8889
retention-days: 90
8990

0 commit comments

Comments
 (0)