Skip to content

Commit 9965f08

Browse files
committed
bump ubuntu runner
1 parent c081092 commit 9965f08

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

.github/workflows/release.yml

+12-12
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
build:
2727
strategy:
2828
matrix:
29-
os: [ubuntu-18.04, windows-2019, macos-12]
29+
os: [ubuntu-20.04, windows-2019, macos-12]
3030
arch: [-amd64]
3131
include:
3232
- os: windows-2019
@@ -69,7 +69,7 @@ jobs:
6969
# dependencies used for compiling the GUI
7070
- name: Install Dependencies (Linux)
7171
run: sudo apt update && sudo apt install -y --no-install-recommends build-essential libgtk-3-dev libwebkit2gtk-4.0-dev libappindicator3-dev
72-
if: matrix.os == 'ubuntu-18.04'
72+
if: matrix.os == 'ubuntu-20.04'
7373

7474
- name: Install Go deps
7575
# Since 10/23/2019 pwsh is the default shell
@@ -91,12 +91,12 @@ jobs:
9191

9292
- name: Build the Agent for linux
9393
run: task go:build
94-
if: matrix.os == 'ubuntu-18.04'
94+
if: matrix.os == 'ubuntu-20.04'
9595

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

101101
# 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)
102102
# rsrc will produce a *.syso file that should get automatically recognized by go build command and linked into an executable.
@@ -301,7 +301,7 @@ jobs:
301301
# This job is responsible for generating the installers (using installbuilder)
302302
package:
303303
needs: notarize-macos
304-
runs-on: ubuntu-18.04
304+
runs-on: ubuntu-20.04
305305

306306
env:
307307
# vars used by installbuilder
@@ -321,13 +321,13 @@ jobs:
321321
strategy:
322322
fail-fast: false # if one os is failing continue nonetheless
323323
matrix: # used to generate installers for different OS and not for runs-on
324-
os: [ubuntu-18.04, windows-2019, macos-12]
324+
os: [ubuntu-20.04, windows-2019, macos-12]
325325
arch: [-amd64]
326326
include:
327-
- os: ubuntu-18.04
327+
- os: ubuntu-20.04
328328
install-builder-name: linux
329329
executable-path: artifacts/linux-amd64/
330-
artifact-name: arduino-create-agent-ubuntu-18.04-amd64
330+
artifact-name: arduino-create-agent-ubuntu-20.04-amd64
331331
- os: windows-2019
332332
arch: -386
333333
browser: edge
@@ -377,15 +377,15 @@ jobs:
377377
# zip artifacts do not mantain executable permission
378378
- name: Make executable
379379
run: chmod -v +x ${{ matrix.executable-path }}${{ env.PROJECT_NAME }}*
380-
if: matrix.os == 'ubuntu-18.04'
380+
if: matrix.os == 'ubuntu-20.04'
381381

382382
- name: Rename executable to Arduino_Create_Agent
383383
run: mv -v ${{ matrix.executable-path }}${{ env.PROJECT_NAME }}${{ matrix.extension }} ${{ matrix.executable-path }}Arduino_Create_Agent${{ matrix.extension }}
384384
if: matrix.os != 'macos-12'
385385

386386
- name: Rename executable to Arduino_Create_Agent_cli
387387
run: mv -v ${{ matrix.executable-path }}${{ env.PROJECT_NAME }}_cli${{ matrix.extension }} ${{ matrix.executable-path }}Arduino_Create_Agent_cli${{ matrix.extension }}
388-
if: matrix.os == 'ubuntu-18.04'
388+
if: matrix.os == 'ubuntu-20.04'
389389

390390
- name: Save InstallBuilder license to file
391391
run: echo "${{ secrets.INSTALLER_LICENSE }}" > /tmp/license.xml
@@ -418,7 +418,7 @@ jobs:
418418
mv -v ArduinoCreateAgent-${GITHUB_REF##*/}-linux-x64-installer-CS.run ArduinoCreateAgent-${GITHUB_REF##*/}-${{ matrix.install-builder-name }}${{ matrix.arch }}-installer-firefox.run
419419
cp -v ArduinoCreateAgent-${GITHUB_REF##*/}-linux-x64-installer-CS.tar.gz ArduinoCreateAgent-${GITHUB_REF##*/}-${{ matrix.install-builder-name }}${{ matrix.arch }}-installer-chrome.tar.gz
420420
mv -v ArduinoCreateAgent-${GITHUB_REF##*/}-linux-x64-installer-CS.tar.gz ArduinoCreateAgent-${GITHUB_REF##*/}-${{ matrix.install-builder-name }}${{ matrix.arch }}-installer-firefox.tar.gz
421-
if: matrix.os == 'ubuntu-18.04'
421+
if: matrix.os == 'ubuntu-20.04'
422422

423423
- name: Upload artifacts
424424
uses: actions/upload-artifact@v3
@@ -496,7 +496,7 @@ jobs:
496496
if-no-files-found: error
497497

498498
create-release:
499-
runs-on: ubuntu-18.04
499+
runs-on: ubuntu-20.04
500500
needs: code-sign-mac-installers
501501

502502
steps:

0 commit comments

Comments
 (0)