Skip to content

Commit f2ad919

Browse files
authored
Refactor artifact upload step in workflow
1 parent 3405460 commit f2ad919

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,9 @@ jobs:
2828
clang++ cppsp_compiler.cpp -Os -std=c++17 -o cppsp_compiler_mac
2929
fi
3030
31-
- name: Upload artifact
32-
if: matrix.os == 'ubuntu-latest'
33-
run: |
34-
zip binaries.zip cppsp_compiler_linux cppsp_compiler_mac
31+
3532
- name: Upload artifact
3633
uses: actions/upload-artifact@v4
3734
with:
38-
name: binary
39-
path: binaries.zip
35+
name: ${{ matrix.os }}-binary
36+
path: cppsp_compiler_*

0 commit comments

Comments
 (0)