mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-06-23 11:25:00 +00:00
ci: fix Linux packaging workflow with specific Ubuntu 20.04 image
This commit is contained in:
parent
89f655c84d
commit
6877e05566
1 changed files with 6 additions and 3 deletions
9
.github/workflows/package.yml
vendored
9
.github/workflows/package.yml
vendored
|
@ -69,6 +69,7 @@ jobs:
|
||||||
linux:
|
linux:
|
||||||
name: Package Linux
|
name: Package Linux
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
container: ubuntu:20.04
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
runtime: [linux-x64, linux-arm64]
|
runtime: [linux-x64, linux-arm64]
|
||||||
|
@ -77,9 +78,10 @@ jobs:
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- name: Download package dependencies
|
- name: Download package dependencies
|
||||||
run: |
|
run: |
|
||||||
sudo add-apt-repository universe
|
export DEBIAN_FRONTEND=noninteractive
|
||||||
sudo apt-get update
|
ln -fs /usr/share/zoneinfo/Etc/UTC /etc/localtime
|
||||||
sudo apt-get install desktop-file-utils rpm libfuse2
|
apt-get update
|
||||||
|
apt-get install -y curl wget git dpkg-dev fakeroot tzdata zip unzip desktop-file-utils rpm libfuse2 file build-essential binutils
|
||||||
- name: Download build
|
- name: Download build
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
|
@ -89,6 +91,7 @@ jobs:
|
||||||
env:
|
env:
|
||||||
VERSION: ${{ inputs.version }}
|
VERSION: ${{ inputs.version }}
|
||||||
RUNTIME: ${{ matrix.runtime }}
|
RUNTIME: ${{ matrix.runtime }}
|
||||||
|
APPIMAGE_EXTRACT_AND_RUN: 1
|
||||||
run: |
|
run: |
|
||||||
mkdir build/SourceGit
|
mkdir build/SourceGit
|
||||||
tar -xf "build/sourcegit.${{ matrix.runtime }}.tar" -C build/SourceGit
|
tar -xf "build/sourcegit.${{ matrix.runtime }}.tar" -C build/SourceGit
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue