Update .gitea/workflows/appimage.yml
This commit is contained in:
1 parent
410b3c4b3a
commit
1e478850ca
1 file changed
+4
-2
@@ -107,7 +107,7 @@ jobs:
|
||||
if: env.SKIP != '1'
|
||||
run: |
|
||||
set -euo pipefail
|
||||
useradd -m builder # makepkg refuses to run as root
|
||||
id builder >/dev/null 2>&1 || useradd -m builder
|
||||
mkdir pkg && cd pkg
|
||||
git clone "${{ gitea.server_url }}/${{ env.PACKAGING }}.git" .
|
||||
cp ../src/packages/desktop/appimage/io.github.viren070.aiostreams.AppImage \
|
||||
@@ -117,6 +117,8 @@ jobs:
|
||||
PKGBUILD
|
||||
chown -R builder:builder .
|
||||
su builder -c "cd '$PWD' && makepkg -f"
|
||||
# the filename is whatever pkgver-pkgrel the PKGBUILD declares
|
||||
pkgfile=$(ls aiostreams-desktop-bin-*.pkg.tar.zst)
|
||||
curl --user "${{ env.OWNER }}:${{ secrets.PUBLISH_TOKEN }}" \
|
||||
--upload-file "aiostreams-desktop-bin-${{ env.VERSION }}-1-x86_64.pkg.tar.zst" \
|
||||
--upload-file "$pkgfile" \
|
||||
"${{ gitea.server_url }}/api/packages/${{ env.OWNER }}/arch/aiostreams"
|
||||
Reference in new issue
Block a user