Skip to content

Commit

Permalink
Adjusted conditionals to pinned runner versions
Browse files Browse the repository at this point in the history
  • Loading branch information
s1hofmann committed Jan 12, 2023
1 parent 47a0c29 commit fa87d39
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
with:
node-version: ${{matrix.node}}
- name: Configure Linux environment
if: ${{matrix.os == 'ubuntu-latest'}}
if: ${{matrix.os == 'ubuntu-20.04'}}
run: sudo apt-get install -y cmake libx11-dev zlib1g-dev libpng-dev libxtst-dev build-essential
- name: Install
run: npm run patch && npm i
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/snapshot_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
with:
node-version: ${{matrix.node}}
- name: Configure Linux environment
if: ${{matrix.os == 'ubuntu-latest'}}
if: ${{matrix.os == 'ubuntu-20.04'}}
run: sudo apt-get install -y cmake libx11-dev zlib1g-dev libpng-dev libxtst-dev build-essential
- name: Install
run: npm run patch && npm i
Expand Down Expand Up @@ -50,18 +50,18 @@ jobs:
with:
node-version: 14
- name: Configure Linux environment
if: ${{matrix.os == 'ubuntu-latest'}}
if: ${{matrix.os == 'ubuntu-20.04'}}
run: sudo apt-get install -y cmake libx11-dev zlib1g-dev libpng-dev libxtst-dev build-essential
- name: Install
run: npm run patch && npm i
- name: Publish snapshot release
if: ${{matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest'}}
if: ${{matrix.os == 'ubuntu-20.04' || matrix.os == 'macos-11'}}
run: ./.build/pre-release.sh
shell: bash
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Publish Windows snapshot release
if: ${{matrix.os == 'windows-latest'}}
if: ${{matrix.os == 'windows-2019'}}
run: ./.build/pre-release.ps1
shell: powershell
env:
Expand All @@ -70,7 +70,7 @@ jobs:
dispatch:
needs:
- deploy
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- name: Dispatch snapshot release
uses: peter-evans/repository-dispatch@v1
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tagged_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
with:
node-version: ${{matrix.node}}
- name: Configure Linux environment
if: ${{matrix.os == 'ubuntu-latest'}}
if: ${{matrix.os == 'ubuntu-20.04'}}
run: sudo apt-get install -y cmake libx11-dev zlib1g-dev libpng-dev libxtst-dev build-essential
- name: Install
run: npm run patch && npm i
Expand Down Expand Up @@ -50,7 +50,7 @@ jobs:
with:
node-version: 14
- name: Configure Linux environment
if: ${{matrix.os == 'ubuntu-latest'}}
if: ${{matrix.os == 'ubuntu-20.04'}}
run: sudo apt-get install -y cmake libx11-dev zlib1g-dev libpng-dev libxtst-dev build-essential
- name: Install
run: npm run patch && npm i
Expand Down

0 comments on commit fa87d39

Please sign in to comment.