diff --git a/.github/workflows/native.yml b/.github/workflows/native.yml index cdfbfa5..1d033fe 100644 --- a/.github/workflows/native.yml +++ b/.github/workflows/native.yml @@ -18,13 +18,13 @@ jobs: build: strategy: matrix: - os: [ubuntu-latest, windows-latest, macOS-latest] + os: [ubuntu-20.04, windows-latest, macos-11] runs-on: ${{ matrix.os }} steps: - name: Checkout - uses: actions/checkout@v1 + uses: actions/checkout@v3 - name: Build Linux - if: matrix.os == 'ubuntu-latest' + if: matrix.os == 'ubuntu-20.04' run: | chmod 755 *.sh echo "building linux-x64" @@ -36,7 +36,7 @@ jobs: sudo apt-get install gcc-arm-linux-gnueabihf ./build-linux-arm.sh - name: Build macOS - if: matrix.os == 'macOS-latest' + if: matrix.os == 'macos-11' run: | chmod 755 *.sh ./build-osx-x64.sh