File tree Expand file tree Collapse file tree 4 files changed +16
-8
lines changed
Expand file tree Collapse file tree 4 files changed +16
-8
lines changed Original file line number Diff line number Diff line change @@ -25,18 +25,21 @@ jobs:
2525 image : ${{ matrix.config.image }}
2626 options : --privileged
2727 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+ git config --global --add safe.directory "$GITHUB_WORKSPACE"
34+
2835 - name : Checkout code
2936 uses : actions/checkout@v4
37+ with :
38+ fetch-depth : 1
3039
3140 - name : Print configuration
3241 run : echo "Running build on ${{ matrix.config }}"
3342
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-
4043 - name : Build pkg2appimage
4144 run : |
4245 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 )
22
33[ Download as an AppImage] ( ../../releases/tag/continuous )
44
Original file line number Diff line number Diff line change 44
55HERE=" $( dirname " $( readlink -f " ${0} " ) " ) "
66
7+ GIT_SHORT_REV=$( git rev-parse --short HEAD)
8+ echo " Using git short revision: $GIT_SHORT_REV "
9+
710. ./functions.sh
811
912mkdir -p build/
@@ -50,4 +53,4 @@ delete_blacklisted
5053rm usr/lib/* -gnu/liblzma.so.5
5154
5255cd ..
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()
252252
253253 set +x
254254
255+ echo " Using version $VERSION_EXPANDED for pkg2appimage"
256+
255257 GLIBC_NEEDED=$( glibc_needed)
256258 _APP_DIR=" ${PWD} /$APP .AppDir/"
257259 export OWD=" ${PWD} "
You can’t perform that action at this time.
0 commit comments