Skip to content

Commit fa87d39

Browse files
committed
Adjusted conditionals to pinned runner versions
1 parent 47a0c29 commit fa87d39

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
with:
2222
node-version: ${{matrix.node}}
2323
- name: Configure Linux environment
24-
if: ${{matrix.os == 'ubuntu-latest'}}
24+
if: ${{matrix.os == 'ubuntu-20.04'}}
2525
run: sudo apt-get install -y cmake libx11-dev zlib1g-dev libpng-dev libxtst-dev build-essential
2626
- name: Install
2727
run: npm run patch && npm i

.github/workflows/snapshot_release.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
with:
1919
node-version: ${{matrix.node}}
2020
- name: Configure Linux environment
21-
if: ${{matrix.os == 'ubuntu-latest'}}
21+
if: ${{matrix.os == 'ubuntu-20.04'}}
2222
run: sudo apt-get install -y cmake libx11-dev zlib1g-dev libpng-dev libxtst-dev build-essential
2323
- name: Install
2424
run: npm run patch && npm i
@@ -50,18 +50,18 @@ jobs:
5050
with:
5151
node-version: 14
5252
- name: Configure Linux environment
53-
if: ${{matrix.os == 'ubuntu-latest'}}
53+
if: ${{matrix.os == 'ubuntu-20.04'}}
5454
run: sudo apt-get install -y cmake libx11-dev zlib1g-dev libpng-dev libxtst-dev build-essential
5555
- name: Install
5656
run: npm run patch && npm i
5757
- name: Publish snapshot release
58-
if: ${{matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest'}}
58+
if: ${{matrix.os == 'ubuntu-20.04' || matrix.os == 'macos-11'}}
5959
run: ./.build/pre-release.sh
6060
shell: bash
6161
env:
6262
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
6363
- name: Publish Windows snapshot release
64-
if: ${{matrix.os == 'windows-latest'}}
64+
if: ${{matrix.os == 'windows-2019'}}
6565
run: ./.build/pre-release.ps1
6666
shell: powershell
6767
env:
@@ -70,7 +70,7 @@ jobs:
7070
dispatch:
7171
needs:
7272
- deploy
73-
runs-on: ubuntu-latest
73+
runs-on: ubuntu-20.04
7474
steps:
7575
- name: Dispatch snapshot release
7676
uses: peter-evans/repository-dispatch@v1

.github/workflows/tagged_release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
with:
1919
node-version: ${{matrix.node}}
2020
- name: Configure Linux environment
21-
if: ${{matrix.os == 'ubuntu-latest'}}
21+
if: ${{matrix.os == 'ubuntu-20.04'}}
2222
run: sudo apt-get install -y cmake libx11-dev zlib1g-dev libpng-dev libxtst-dev build-essential
2323
- name: Install
2424
run: npm run patch && npm i
@@ -50,7 +50,7 @@ jobs:
5050
with:
5151
node-version: 14
5252
- name: Configure Linux environment
53-
if: ${{matrix.os == 'ubuntu-latest'}}
53+
if: ${{matrix.os == 'ubuntu-20.04'}}
5454
run: sudo apt-get install -y cmake libx11-dev zlib1g-dev libpng-dev libxtst-dev build-essential
5555
- name: Install
5656
run: npm run patch && npm i

0 commit comments

Comments
 (0)