Skip to content

Commit 79d61b2

Browse files
authored
Fixed C/C++ CI workflow.
1 parent a73b218 commit 79d61b2

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/c-cpp.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,11 @@ on:
77
branches: [ "main" ]
88

99
jobs:
10-
build-windows:
10+
build-windows-vs:
1111
name: build-windows-vs
1212
runs-on: windows-latest
1313
steps:
14+
- uses: actions/checkout@v4
1415
- name: Compile with VS 2022
1516
shell: cmd
1617
run: ${{ '"C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\Tools\VsDevCmd.bat" && msbuild' }}
@@ -42,7 +43,7 @@ jobs:
4243
- name: Upload executable
4344
uses: actions/upload-artifact@v4
4445
with:
45-
name: ${{matrix.os}}
46+
name: mingw
4647
path: |
4748
'likespro.eth - UNIVERSAL.exe'
4849
build-mac-and-ubuntu:
@@ -55,14 +56,14 @@ jobs:
5556
- uses: actions/checkout@v4
5657
- name: Compile with GCC
5758
run: |
58-
g++ -std=c++17 'likespro.eth - UNIVERSAL/likespro.eth - UNIVERSAL.cpp' -o 'likespro.eth - UNIVERSAL.o'
59+
g++ -std=c++17 'likespro.eth - UNIVERSAL/likespro.eth - UNIVERSAL.cpp' -o 'likespro.eth - UNIVERSAL'
5960
- name: Run
6061
run: |
61-
'./likespro.eth - UNIVERSAL.o'
62+
'./likespro.eth - UNIVERSAL'
6263
shell: bash
6364
- name: Upload executable
6465
uses: actions/upload-artifact@v4
6566
with:
6667
name: ${{matrix.os}}
6768
path: |
68-
'likespro.eth - UNIVERSAL.o'
69+
'likespro.eth - UNIVERSAL'

0 commit comments

Comments
 (0)