Skip to content

Commit

Permalink
CI: Pin current runners versions
Browse files Browse the repository at this point in the history
  • Loading branch information
agdavydov81 committed Nov 3, 2023
1 parent 4508bcd commit fde8b8c
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/Build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ 'ubuntu-22.04', 'windows-2019', 'macos-latest']
os: [ 'ubuntu-22.04', 'windows-2022', 'macos-12']
steps:
- uses: actions/checkout@v3
with:
Expand Down Expand Up @@ -86,7 +86,7 @@ jobs:
retention-days: 7

build-native-windows:
runs-on: windows-2019
runs-on: windows-2022
needs: [build-wrappers]
steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -204,7 +204,7 @@ jobs:
retention-days: 7

build-dotnet:
runs-on: windows-2019
runs-on: windows-2022
needs: [compress-native]
steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -237,7 +237,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ 'ubuntu-22.04', 'windows-2019', 'macos-latest']
os: [ 'ubuntu-22.04', 'windows-2022', 'macos-12']
java: [ '8', '11', '19']
steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -265,7 +265,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ 'ubuntu-22.04', 'windows-2019', 'macos-latest']
os: [ 'ubuntu-22.04', 'windows-2022', 'macos-12']
steps:
- uses: actions/checkout@v3
with:
Expand All @@ -279,12 +279,12 @@ jobs:
with:
dotnet-version: '3.1.x'
- name: test windows
if: ${{ matrix.os == 'windows-2019' }}
if: ${{ matrix.os == 'windows-2022' }}
run: |
cd csharp
./build --target=Run-Unit-Tests
- name: test nix
if: ${{ matrix.os == 'ubuntu-22.04' || matrix.os == 'macos-latest' }}
if: ${{ matrix.os == 'ubuntu-22.04' || matrix.os == 'macos-12' }}
run: |
cd csharp
./build.sh --target=Run-Unit-Tests
Expand Down

0 comments on commit fde8b8c

Please sign in to comment.