ci: stop using deprecated Ubuntu 18.04

GitHub Actions fails running 18.04 jobs currently:
<https://github.com/actions/runner-images/issues/6002>
This commit is contained in:
link2xt
2023-02-21 13:09:57 +00:00
parent 38a62d92ba
commit e86fbf5855
3 changed files with 7 additions and 7 deletions

View File

@@ -9,7 +9,7 @@ on:
jobs: jobs:
pack-module: pack-module:
name: "Package @deltachat/jsonrpc-client and upload to download.delta.chat" name: "Package @deltachat/jsonrpc-client and upload to download.delta.chat"
runs-on: ubuntu-18.04 runs-on: ubuntu-20.04
steps: steps:
- name: Install tree - name: Install tree
run: sudo apt install tree run: sudo apt install tree

View File

@@ -12,7 +12,7 @@ jobs:
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
strategy: strategy:
matrix: matrix:
os: [ubuntu-18.04, macos-latest, windows-latest] os: [ubuntu-20.04, macos-latest, windows-latest]
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v3 uses: actions/checkout@v3
@@ -65,7 +65,7 @@ jobs:
pack-module: pack-module:
needs: prebuild needs: prebuild
name: Package deltachat-node and upload to download.delta.chat name: Package deltachat-node and upload to download.delta.chat
runs-on: ubuntu-18.04 runs-on: ubuntu-20.04
steps: steps:
- name: Install tree - name: Install tree
run: sudo apt install tree run: sudo apt install tree
@@ -99,7 +99,7 @@ jobs:
- name: Download Ubuntu prebuild - name: Download Ubuntu prebuild
uses: actions/download-artifact@v1 uses: actions/download-artifact@v1
with: with:
name: ubuntu-18.04 name: ubuntu-20.04
- name: Download macOS prebuild - name: Download macOS prebuild
uses: actions/download-artifact@v1 uses: actions/download-artifact@v1
with: with:
@@ -111,11 +111,11 @@ jobs:
- shell: bash - shell: bash
run: | run: |
mkdir node/prebuilds mkdir node/prebuilds
tar -xvzf ubuntu-18.04/ubuntu-18.04.tar.gz -C node/prebuilds tar -xvzf ubuntu-20.04/ubuntu-20.04.tar.gz -C node/prebuilds
tar -xvzf macos-latest/macos-latest.tar.gz -C node/prebuilds tar -xvzf macos-latest/macos-latest.tar.gz -C node/prebuilds
tar -xvzf windows-latest/windows-latest.tar.gz -C node/prebuilds tar -xvzf windows-latest/windows-latest.tar.gz -C node/prebuilds
tree node/prebuilds tree node/prebuilds
rm -rf ubuntu-18.04 macos-latest windows-latest rm -rf ubuntu-20.04 macos-latest windows-latest
- name: Install dependencies without running scripts - name: Install dependencies without running scripts
run: | run: |
npm install --ignore-scripts npm install --ignore-scripts

View File

@@ -13,7 +13,7 @@ jobs:
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
strategy: strategy:
matrix: matrix:
os: [ubuntu-18.04, macos-latest, windows-latest] os: [ubuntu-latest, macos-latest, windows-latest]
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v3 uses: actions/checkout@v3