소스 검색

Move runs-on under strategy

Tatsuhiro Tsujikawa 3 년 전
부모
커밋
a433352b67
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      .github/workflows/build.yml

+ 2 - 2
.github/workflows/build.yml

@@ -4,13 +4,13 @@ on: [push, pull_request]
 
 jobs:
   build:
-    runs-on: ${{ matrix.os }}
-
     strategy:
       matrix:
         os: [ubuntu-22.04, macos-11]
         compiler: [gcc, clang]
 
+    runs-on: ${{ matrix.os }}
+
     steps:
     - uses: actions/checkout@v3
     - name: Linux setup