File tree Expand file tree Collapse file tree 4 files changed +15
-8
lines changed Expand file tree Collapse file tree 4 files changed +15
-8
lines changed Original file line number Diff line number Diff line change @@ -25,18 +25,20 @@ jobs:
25
25
image : ${{ matrix.config.image }}
26
26
options : --privileged
27
27
steps :
28
+ - name : Install dependencies
29
+ run : |
30
+ export DEBIAN_FRONTEND="noninteractive"
31
+ apt-get update
32
+ apt-get install -y sudo libarchive-tools curl zsync squashfs-tools aria2 desktop-file-utils wget fuse binutils file imagemagick gcc git
33
+
28
34
- name : Checkout code
29
35
uses : actions/checkout@v4
36
+ with :
37
+ fetch-depth : 1
30
38
31
39
- name : Print configuration
32
40
run : echo "Running build on ${{ matrix.config }}"
33
41
34
- - name : Install dependencies
35
- run : |
36
- export DEBIAN_FRONTEND="noninteractive"
37
- apt-get update
38
- apt-get install -y sudo libarchive-tools curl zsync squashfs-tools aria2 desktop-file-utils wget fuse binutils file imagemagick gcc
39
-
40
42
- name : Build pkg2appimage
41
43
run : |
42
44
bash -ex dogfeeding.sh
Original file line number Diff line number Diff line change 1
- # pkg2appimage [ ![ Build Status] ( https://travis-ci.org/AppImage /pkg2appimage. svg )] ( https://travis-ci.org/AppImage /pkg2appimage ) [ ![ Donate] ( https://img.shields.io/badge/Donate-PayPal-green.svg )] ( https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=ZT9CL8M5TJU72 )
1
+ # pkg2appimage [ ![ Build Status] ( https://github.com/AppImageCommunity /pkg2appimage/actions/workflows/build.yml/badge. svg )] ( https://github.com/AppImageCommunity /pkg2appimage/actions/workflows/build.yml ) [ ![ Donate] ( https://img.shields.io/badge/Donate-PayPal-green.svg )] ( https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=ZT9CL8M5TJU72 )
2
2
3
3
[ Download as an AppImage] ( ../../releases/tag/continuous )
4
4
Original file line number Diff line number Diff line change 4
4
5
5
HERE=" $( dirname " $( readlink -f " ${0} " ) " ) "
6
6
7
+ GIT_SHORT_REV=$( git rev-parse --short HEAD)
8
+ echo " Using git short revision: $GIT_SHORT_REV "
9
+
7
10
. ./functions.sh
8
11
9
12
mkdir -p build/
@@ -50,4 +53,4 @@ delete_blacklisted
50
53
rm usr/lib/* -gnu/liblzma.so.5
51
54
52
55
cd ..
53
- NO_GLIBC_VERSION=true APP=pkg2appimage VERSION=$( git rev-parse --short HEAD ) generate_type2_appimage # FIXME: This embeds bintray-zsync
56
+ NO_GLIBC_VERSION=true APP=pkg2appimage VERSION=$GIT_SHORT_REV generate_type2_appimage # FIXME: This embeds bintray-zsync
Original file line number Diff line number Diff line change @@ -252,6 +252,8 @@ generate_type2_appimage()
252
252
253
253
set +x
254
254
255
+ echo " Using version $VERSION_EXPANDED for pkg2appimage"
256
+
255
257
GLIBC_NEEDED=$( glibc_needed)
256
258
_APP_DIR=" ${PWD} /$APP .AppDir/"
257
259
export OWD=" ${PWD} "
You can’t perform that action at this time.
0 commit comments