Skip to content

Commit 52e145c

Browse files
authored
Update action.yml
1 parent 90a7748 commit 52e145c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

action.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ runs:
5959
cd deps; Invoke-WebRequest -Uri "https://www.sfml-dev.org/files/SFML-2.5.1-windows-vc15-64-bit.zip" -OutFile SFML-2.5.1.zip
6060
Expand-Archive -LiteralPath SFML-2.5.1.zip -DestinationPath .
6161
shell: pwsh
62+
if: runner.os == 'Windows'
6263

6364
- name: Prepare compilation [MacOS|Linux]
6465
run: cd build && cmake -DBUILD_TESTS=OFF -DBUILD_TOOLKIT=OFF -DBUILD_PLAYER=OFF ..
@@ -67,6 +68,7 @@ runs:
6768
- name: Prepare compilation [Windows]
6869
run: cd build; cmake -G "Visual Studio 16 2019" -A x64 -DSFML_DIR="${env:GITHUB_WORKSPACE}/deps/SFML-2.5.1/lib/cmake/SFML" -DBUILD_TESTS=OFF -DBUILD_TOOLKIT=OFF ..
6970
shell: pwsh
71+
if: runner.os == 'Windows'
7072

7173
- name: Compile ObEngine plugin [MacOS|Linux]
7274
run: cd build && make -j8
@@ -75,3 +77,4 @@ runs:
7577
- name: Compile ObEngine plugin [Windows]
7678
shell: pwsh
7779
run: cmake --build build --config Debug -- /m:8
80+
if: runner.os == 'Windows'

0 commit comments

Comments
 (0)