Skip to content

Commit 6877e05

Browse files
committed
ci: fix Linux packaging workflow with specific Ubuntu 20.04 image
1 parent 89f655c commit 6877e05

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/package.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ jobs:
6969
linux:
7070
name: Package Linux
7171
runs-on: ubuntu-latest
72+
container: ubuntu:20.04
7273
strategy:
7374
matrix:
7475
runtime: [linux-x64, linux-arm64]
@@ -77,9 +78,10 @@ jobs:
7778
uses: actions/checkout@v4
7879
- name: Download package dependencies
7980
run: |
80-
sudo add-apt-repository universe
81-
sudo apt-get update
82-
sudo apt-get install desktop-file-utils rpm libfuse2
81+
export DEBIAN_FRONTEND=noninteractive
82+
ln -fs /usr/share/zoneinfo/Etc/UTC /etc/localtime
83+
apt-get update
84+
apt-get install -y curl wget git dpkg-dev fakeroot tzdata zip unzip desktop-file-utils rpm libfuse2 file build-essential binutils
8385
- name: Download build
8486
uses: actions/download-artifact@v4
8587
with:
@@ -89,6 +91,7 @@ jobs:
8991
env:
9092
VERSION: ${{ inputs.version }}
9193
RUNTIME: ${{ matrix.runtime }}
94+
APPIMAGE_EXTRACT_AND_RUN: 1
9295
run: |
9396
mkdir build/SourceGit
9497
tar -xf "build/sourcegit.${{ matrix.runtime }}.tar" -C build/SourceGit

0 commit comments

Comments
 (0)