Skip to content

Commit 42376b7

Browse files
committed
Format workflows
1 parent 6a6d691 commit 42376b7

File tree

2 files changed

+20
-7
lines changed

2 files changed

+20
-7
lines changed

.github/workflows/Build.yml renamed to .github/workflows/ci-build.yml

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@ name: Build
33
on:
44
push:
55
paths:
6-
- '.github/workflows/Build.yml'
6+
- '.github/workflows/ci-build.yml'
77
- 'src/**.cc'
88
- 'src/**.h'
99
- '**/CMakeLists.txt'
1010
- '**/*.cmake'
1111
pull_request:
1212
paths:
13-
- '.github/workflows/Build.yml'
13+
- '.github/workflows/ci-build.yml'
1414
- 'src/**.cc'
1515
- 'src/**.h'
1616
- '**/CMakeLists.txt'
@@ -93,7 +93,10 @@ jobs:
9393
9494
- name: Build
9595
run: |
96-
cmake --build build -j $(nproc)
96+
cmake \
97+
--build build \
98+
-j $(nproc) \
99+
# EOL
97100
98101
- name: Upload
99102
uses: actions/upload-artifact@v3
@@ -119,17 +122,24 @@ jobs:
119122

120123
- name: Configure
121124
run: |
122-
cmake -B build -D CMAKE_BUILD_TYPE=RelWithDebInfo
125+
cmake \
126+
-B build \
127+
-D CMAKE_BUILD_TYPE=RelWithDebInfo \
128+
# EOL
123129
124130
- name: Build
125131
run: |
126-
cmake --build build -j $(sysctl -n hw.physicalcpu) --target package
132+
cmake \
133+
--build build \
134+
-j $(sysctl -n hw.physicalcpu) \
135+
--target package \
136+
# EOL
127137
128138
- name: Upload
129139
uses: actions/upload-artifact@v3
130140
with:
131141
name: fallout2-ce-macos.dmg
132-
path: build/_CPack_Packages/Darwin/DragNDrop/fallout2-ce/fallout2-ce.dmg
142+
path: build/fallout2-ce.dmg
133143
retention-days: 7
134144

135145
windows:

.github/workflows/release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,10 @@ jobs:
6565
6666
- name: Build
6767
run: |
68-
cmake --build build -j $(nproc)
68+
cmake \
69+
--build build \
70+
-j $(nproc) \
71+
# EOL
6972
7073
- name: Upload
7174
run: |

0 commit comments

Comments
 (0)