Skip to content

Commit 81263ff

Browse files
committed
Fix os check
1 parent 0fa60e5 commit 81263ff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/il2cpp.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,12 +78,12 @@ jobs:
7878
# /opt/unity/Editor/Unity -batchmode -nographics -quit -projectPath "$GITHUB_WORKSPACE" -buildTarget ${{ matrix.target }} -executeMethod BuildScript.PerformBuild -logFile "$outdir/build.log" || true
7979

8080
- name: Archive build (Linux/macOS)
81-
if: runner.os != 'windows-latest'
81+
if: runner.os != 'windows'
8282
run: |
8383
zip -r build-${{ matrix.unity }}-${{ matrix.target }}.zip ./build
8484
8585
- name: Archive build (Windows)
86-
if: runner.os == 'windows-latest'
86+
if: runner.os == 'windows'
8787
shell: pwsh
8888
run: |
8989
Compress-Archive -Path build -DestinationPath build-${{ matrix.unity }}-${{ matrix.target }}.zip -Force

0 commit comments

Comments
 (0)