Skip to content

Commit 424c3ab

Browse files
committed
bump ubuntu runner to ubuntu 20.04
1 parent 54e8769 commit 424c3ab

File tree

3 files changed

+13
-13
lines changed

3 files changed

+13
-13
lines changed

.github/workflows/check-certificates.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
if: >
2727
(github.event_name != 'pull_request' && github.repository == 'arduino/arduino-create-agent') ||
2828
(github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == 'arduino/arduino-create-agent')
29-
runs-on: ubuntu-18.04
29+
runs-on: ubuntu-20.04
3030

3131
strategy:
3232
fail-fast: false

.github/workflows/publish-go-tester-task.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
#use the strategy instead because we still use the native build
6565
strategy:
6666
matrix:
67-
os: [ubuntu-18.04, windows-2019, macos-12]
67+
os: [ubuntu-20.04, windows-2019, macos-12]
6868
arch: [-amd64]
6969
include:
7070
- os: windows-2019

.github/workflows/release.yml

+11-11
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
build:
2323
strategy:
2424
matrix:
25-
os: [ubuntu-18.04, windows-2019, macos-12]
25+
os: [ubuntu-20.04, windows-2019, macos-12]
2626
arch: [-amd64]
2727
include:
2828
- os: windows-2019
@@ -65,7 +65,7 @@ jobs:
6565
# dependencies used for compiling the GUI
6666
- name: Install Dependencies (Linux)
6767
run: sudo apt update && sudo apt install -y --no-install-recommends build-essential libgtk-3-dev libwebkit2gtk-4.0-dev libappindicator3-dev
68-
if: matrix.os == 'ubuntu-18.04'
68+
if: matrix.os == 'ubuntu-20.04'
6969

7070
- name: Install Go deps
7171
# Since 10/23/2019 pwsh is the default shell
@@ -87,12 +87,12 @@ jobs:
8787

8888
- name: Build the Agent for linux
8989
run: task go:build
90-
if: matrix.os == 'ubuntu-18.04'
90+
if: matrix.os == 'ubuntu-20.04'
9191

9292
# build the agent without GUI support (no tray icon)
9393
- name: Build the Agent-cli
9494
run: task go:build-cli
95-
if: matrix.os == 'ubuntu-18.04'
95+
if: matrix.os == 'ubuntu-20.04'
9696

9797
# the manifest is required by windows GUI apps, otherwise the binary will crash with: "Unable to create main window: TTM_ADDTOOL failed" (for reference https://github.com/lxn/walk/issues/28)
9898
# rsrc will produce a *.syso file that should get automatically recognized by go build command and linked into an executable.
@@ -211,7 +211,7 @@ jobs:
211211
# This job is responsible for generating the installers (using installbuilder)
212212
package:
213213
needs: code-sign-mac-executable
214-
runs-on: ubuntu-18.04
214+
runs-on: ubuntu-20.04
215215

216216
env:
217217
# vars used by installbuilder
@@ -231,10 +231,10 @@ jobs:
231231
strategy:
232232
fail-fast: false # if one os is failing continue nonetheless
233233
matrix: # used to generate installers for different OS and not for runs-on
234-
os: [ubuntu-18.04, windows-2019, macos-12]
234+
os: [ubuntu-20.04, windows-2019, macos-12]
235235
arch: [-amd64]
236236
include:
237-
- os: ubuntu-18.04
237+
- os: ubuntu-20.04
238238
install-builder-name: linux
239239
executable-path: artifacts/linux-amd64/
240240
- os: windows-2019
@@ -275,14 +275,14 @@ jobs:
275275
# zip artifacts do not mantain executable permission
276276
- name: Make executable
277277
run: chmod -v +x ${{ matrix.executable-path }}arduino-create-agent*
278-
if: matrix.os == 'ubuntu-18.04' || matrix.os == 'macos-12'
278+
if: matrix.os == 'ubuntu-20.04' || matrix.os == 'macos-12'
279279

280280
- name: Rename executable to Arduino_Create_Agent
281281
run: mv -v ${{ matrix.executable-path }}arduino-create-agent${{ matrix.extension }} ${{ matrix.executable-path }}Arduino_Create_Agent${{ matrix.extension }}
282282

283283
- name: Rename executable to Arduino_Create_Agent_cli
284284
run: mv -v ${{ matrix.executable-path }}arduino-create-agent_cli${{ matrix.extension }} ${{ matrix.executable-path }}Arduino_Create_Agent_cli${{ matrix.extension }}
285-
if: matrix.os == 'ubuntu-18.04'
285+
if: matrix.os == 'ubuntu-20.04'
286286

287287
- name: get year
288288
run: echo "YEAR=$(date "+%Y")" >> $GITHUB_ENV
@@ -342,7 +342,7 @@ jobs:
342342
mv -v ArduinoCreateAgent-${GITHUB_REF##*/}-linux-x64-installer-CS.run ArduinoCreateAgent-${GITHUB_REF##*/}-${{ matrix.install-builder-name }}${{ matrix.arch }}-installer-firefox.run
343343
cp -v ArduinoCreateAgent-${GITHUB_REF##*/}-linux-x64-installer-CS.tar.gz ArduinoCreateAgent-${GITHUB_REF##*/}-${{ matrix.install-builder-name }}${{ matrix.arch }}-installer-chrome.tar.gz
344344
mv -v ArduinoCreateAgent-${GITHUB_REF##*/}-linux-x64-installer-CS.tar.gz ArduinoCreateAgent-${GITHUB_REF##*/}-${{ matrix.install-builder-name }}${{ matrix.arch }}-installer-firefox.tar.gz
345-
if: matrix.os == 'ubuntu-18.04'
345+
if: matrix.os == 'ubuntu-20.04'
346346

347347
- name: Upload artifacts
348348
uses: actions/upload-artifact@v3
@@ -420,7 +420,7 @@ jobs:
420420
if-no-files-found: error
421421

422422
create-release:
423-
runs-on: ubuntu-18.04
423+
runs-on: ubuntu-20.04
424424
needs: code-sign-mac-installers
425425

426426
steps:

0 commit comments

Comments
 (0)